[
https://issues.apache.org/jira/browse/CB-7265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14089237#comment-14089237
]
ASF GitHub Bot commented on CB-7265:
------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/cordova-android/pull/111
> 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)