cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-7265) Application built with Cordova 3.5.1 running on a device with Android < 4.0.3 crashes when the webview is redirected to a custom url scheme
Date Thu, 07 Aug 2014 14:02:12 GMT

     [ https://issues.apache.org/jira/browse/CB-7265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Grieve resolved CB-7265.
-------------------------------

    Resolution: Fixed
      Assignee: Martin Bektchiev

Fixed in 3.6.0-dev

> Application built with Cordova 3.5.1 running on a device with Android < 4.0.3 crashes
when the webview is redirected to a custom url scheme
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-7265
>                 URL: https://issues.apache.org/jira/browse/CB-7265
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.5.0
>            Reporter: Martin Bektchiev
>            Assignee: Martin Bektchiev
>
> To reproduce add the jsHybugger plugin (https://github.com/jsHybugger/cordova-plugin-jshybugger)
to any Cordova application and run it on an Android device with version < 4.0.3. The reason
for the crash is the missing "android.content.Intent.setSelector" method:
> FATAL EXCEPTION: main
> java.lang.NoSuchMethodError: android.content.Intent.setSelector
>        at org.apache.cordova.CordovaUriHelper.shouldOverrideUrlLoading(CordovaUriHelper.java:103)
>        at org.apache.cordova.CordovaWebViewClient.shouldOverrideUrlLoading(CordovaWebViewClient.java:131)
>        at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:218)
>        at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:337)
>        at android.os.Handler.dispatchMessage(Handler.java:99)
>        at android.os.Looper.loop(Looper.java:123)
>        at android.app.ActivityThread.main(ActivityThread.java:3691)
>        at java.lang.reflect.Method.invokeNative(Native Method)
>        at java.lang.reflect.Method.invoke(Method.java:507)
>        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
>        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
>        at dalvik.system.NativeStart.main(Native Method)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message