thibaut created CB-12932:
----------------------------

             Summary: InAppBrowser plugin crash on Android
                 Key: CB-12932
                 URL: https://issues.apache.org/jira/browse/CB-12932
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-inappbrowser
    Affects Versions: cordova@7.0.0
            Reporter: thibaut


When using the _blank option, the cordova plugin now crash the entire 
application on Android 6 and 7 after updating to the last SDK available of 
Google:

Fabric tells me this :

{code:java}

Fatal Exception: android.content.res.Resources$NotFoundException: Resource ID 
#0x0
       at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:202)
       at android.content.res.Resources.getDrawable(Resources.java:1639)
       at android.content.res.Resources.getDrawable(Resources.java:1611)
       at 
org.apache.cordova.inappbrowser.InAppBrowser$6.run(InAppBrowser.java:637)
       at android.app.Activity.runOnUiThread(Activity.java:6030)
       at 
org.apache.cordova.inappbrowser.InAppBrowser.showWebPage(InAppBrowser.java:852)
       at 
org.apache.cordova.inappbrowser.InAppBrowser$1.run(InAppBrowser.java:207)
       at android.os.Handler.handleCallback(Handler.java:751)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:154)
       at android.app.ActivityThread.main(ActivityThread.java:6692)
       at java.lang.reflect.Method.invoke(Method.java)
       at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
{code}

I tried with _system : No Crash, but every time I use _blank, the app crashed.
It happens since I updated my google sdk (I think it was the play services, but 
not sure about this)

Thanking you in advance



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to