Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Works for Me
    • Affects Version/s: cordova@7.0.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      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 :

      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)
      

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thibaut thibaut
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: