-
Notifications
You must be signed in to change notification settings - Fork 1k
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
bug: external link opens in webview instead of browser #5786
Comments
I think is by design to work like this so basically is not a bug but a feature :) |
This is a confirmed bug. |
Hostname can be anything, even example.com so you cannot prohibit that. |
Yeah, you are right about that, but the issue has nothing to do with what you are talking about. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Bug Report
Capacitor Version
Platform(s)
Tested on Android, not sure about IOS
Current Behavior
Any link that contains the hostname specified in
capacitor.config.json
opens in webview instead of external browser.Same behaviour with
window.open
andwindow.location
capacitor.config.json
studio64_xVqAh1VN6I.mp4
Code Reproduction
https://github.com/umeshn1/external-link-bug
npm run build && npx cap sync && npx cap open android
The text was updated successfully, but these errors were encountered: