cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Sharapov (JIRA)" <>
Subject [jira] [Created] (CB-13094) Showing splash screen crashes if the activity is in the process of finishing
Date Mon, 24 Jul 2017 12:27:00 GMT
Andrey Sharapov created CB-13094:

             Summary: Showing splash screen crashes if the activity is in the process of finishing
                 Key: CB-13094
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-splashscreen
    Affects Versions: cordova@7.0.0
            Reporter: Andrey Sharapov
            Priority: Trivial

Showing of splash screen is attached to js event "onbeforeunload". When application being
closed by pressing "back" button, we gots:
{quote}FATAL EXCEPTION: main
Process:, PID: 16999
android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@5d0142d
is not valid; is your activity running?
       at android.view.ViewRootImpl.setView(
       at android.view.WindowManagerGlobal.addView(
       at android.view.WindowManagerImpl.addView(
       at org.apache.cordova.splashscreen.SplashScreen$
       at org.apache.cordova.splashscreen.SplashScreen.showSplashScreen(
       at org.apache.cordova.splashscreen.SplashScreen.onMessage(
       at org.apache.cordova.PluginManager.postMessage(
       at org.apache.cordova.CordovaWebViewImpl.postMessage(
       at org.apache.cordova.splashscreen.SplashScreen$
       at android.os.Handler.handleCallback(
       at android.os.Handler.dispatchMessage(
       at android.os.Looper.loop(
       at java.lang.reflect.Method.invoke(Native Method)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message