-
Notifications
You must be signed in to change notification settings - Fork 534
How to allow user to open link in external browser from App #51
Comments
Not sure, that this can be done. The problem is that by default Android will open all your UL links in the app, not a browser. Because it's a default behaviour for him and controlled by OS, not by plugin. You can do a kind of the hack by defining one url in
|
Thanks for the interesting idea, I will try it. |
It's kind of dirty, but hope it will work :) |
I realized most of my url are like /pages/page_id so not able to use pattern like *.index.html |
Then I'm afraid this can't be done. As I said before - this is controlled by Android. The other workaround can be writing native plugin, that accepts the link to open, and it will launch selector, with which app to open this link, so the user could choose the browser. Or force-open in the browser; but for that you would need explicitly launch browser app. |
@anilsaxena @nikDemyankov any updates here ? is it still can't be done in android ? |
👋 Hi! Thank you for your interest in this repo. 😢 We are not using nordnet/cordova-universal-links-plugin anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork. 🔒 This will now be closed & locked. ℹ️ Please see #160 for more information. |
I want user to give ability to open links which are opened by default in App to open in browser. By when I call windows.open(link_url, "_system") it goes in loop on Android, it works on IOS though.
The text was updated successfully, but these errors were encountered: