apache / cordova-plugin-inappbrowser

Apache Cordova InAppBrowser Plugin
https://cordova.apache.org/
Apache License 2.0
1.12k stars 2.15k forks source link

Bad url override #434

Open jcmmv00 opened 5 years ago

jcmmv00 commented 5 years ago

Bug Report

Problem

When the url to load starts with https:// but without www or something like that the plugin makes a wrong override, for example this url from firebase for dynamic links: https://myawesome.app.link/, when this url is loaded the browser show a error message net::ERR_UNKNOWN_URL_SCHEME. looking the navigation bar the url appears like this: http://intent://myawesome.app.link/, however if I set the property _system works perfectly because its opens in a external browser.

I don't know why it changed from https:// to http://intent, I tried with another url like www.google.com and works nice.

Environment, Platform, Device

ionic android

Checklist

janpio commented 5 years ago

Is this maybe a redirect done by the server side of https://myawesome.app.link/?

jcmmv00 commented 5 years ago

You right, I was thinking that the link never was read but it's working, the intention was to launch another app based on a dynamic fire-base link, apparently it's not possible without calling an external browser.

Thanks.