-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Custom intent not work in inappbrowser [net::ERR_UNKNOWN_URL_SCHEME] #862
Comments
@erisu any idea regarding this issue! |
I havent looked at this yet but while reviewing and sorting PRs, I had noticed a PR with similar context. I only glanced over the code but didn't do a complete review yet. |
Thanks for the explain. |
I think the Mentioned PR need to add some code to be in the correct way, because the custom scheme names not work with cordova web view, and the webview generate error message like this: @breautek Do you have any idea for this issue ? Thanks all |
My best guess is the fact that in-app-browser implements its own webview (as it's intended to have an isolated webview) https://github.com/apache/cordova-plugin-inappbrowser/blob/master/src/android/InAppBrowser.java#L916 apache/cordova-android#1167 is for the cordova webview so it won't have any effect on the in app webview. Issues with the in-app browser webview should be reported for the in-app-browser plugin. Since I think it is desirable to have the same behaviour in this case, I'll move this ticket over to the proper repository. |
Thanks for explain |
@breautek Thanks |
Bug Report
Problem
What is expected to happen?
Should deal with any name of custom scheme intent.
What does actually happen?
If you try to open external link for example via inappbrowser plugin, it open it without any problem, but if you click on any link in that website that have intent; with custom scheme name; then the inappbrowser plugin generate an error message from cordova webview:
net::ERR_UNKNOWN_URL_SCHEME
Information
Command or Code
Environment, Platform, Device
Version information
Cordova cli 10.0.0
cordova-android 9.1.0-dev (master version)
cordova-plugin-inappbrowser 5.0.0
Checklist
The text was updated successfully, but these errors were encountered: