Closed mnowak-umich closed 6 years ago
I put the .js file in www/js and included it in my index.html file but got the same results.
It turns out inappbrowser is the problem. Check this out:
https://github.com/apache/cordova-plugin-inappbrowser/pull/99
I used the fork listed and that worked.
The ERR_UNKNOWN_URL_SCHEME error is commonly because of your browser issue . There's no application on your device which can handle that particular action. It is a Chromium bug . In Chrome version 40 and up, this bug has resurfaced, but only if you are manually entering the URL of the redirect page in the address bar. The issue is on the chromium issue tracker here .
I have run into a problem similar to another poster back in 2015 where I am loading an inappbrowser to run a survey on our website and then the last page has a custom url link that will cause the inappbrowser to close. It works fine on iOS 11 but both in an Android emulator and on an Android device (running 5.0.2), I get:
Webpage not available
The webpage at wheels://home could not be loaded because:
net::ERR_UNKNOWN_URL_SCHEME
My AndroidManifest looks like this:
Are there supposed to be two intents mentioning an android:scheme?
Also, I install the plugin via CLI -- do I need to copy LaunchMyApp.js to the www/js folder and install the LaunchMyApp.js in my index.html file manually?
Thanks in advance for your help.