cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (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:comment-tabpanel&focusedCommentId=14089235#comment-14089235
] 

ASF subversion and git services commented on CB-7265:
-----------------------------------------------------

Commit 73219bf2d22a7057f19b6dd9cd8fd24632316d90 in cordova-android's branch refs/heads/master
from [~mbektchiev]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=73219bf ]

CB-7265 Fix crash when navigating to custom protocol (introduced in 3.5.1)

Conflicts:
	framework/src/org/apache/cordova/CordovaUriHelper.java

Github: close #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
>
> 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