You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2017/10/05 18:03:00 UTC
[jira] [Resolved] (CB-12932) InAppBrowser plugin crash on Android
[ https://issues.apache.org/jira/browse/CB-12932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser resolved CB-12932.
-----------------------------
Resolution: Works for Me
I haven't been able to reproduce this issue. This issue could have been caused by the resources being missing on installation, so I would check the resource directory if you're still having this problem. Also, please try the latest version of this plugin.
> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org