Issue
I've been using shouldOverrideUrlLoading successfully in 4.4.2 on my Android devices. The same application on the newer version of KitKat (4.4.3) doesn't call the shouldOverrideUrlLoading method at all!
Any ideas? Thanks.
Solution
Keep in mind that WebView from android version 4.4.3 doesn't support custom url schema properly. I don't know is this bug or feature.
href="myschem://calback"
Click on this href doesn't call the android's callback method:
public boolean shouldOverrideUrlLoading(WebView view, String url) {
}
To call this callback href have to begin from "http
", so replace all your href to:
href="http://calback"
And you app will work.
Answered By - Sergey Neskoromny
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.