We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8b9b1f commit 7553edeCopy full SHA for 7553ede
android/capacitor/src/main/java/com/getcapacitor/Bridge.java
@@ -351,7 +351,7 @@ public boolean launchIntent(Uri url) {
351
}
352
353
354
- if (!url.toString().contains(appUrl) && !appAllowNavigationMask.matches(url.getHost())) {
+ if (!url.toString().startsWith(appUrl) && !appAllowNavigationMask.matches(url.getHost())) {
355
try {
356
Intent openIntent = new Intent(Intent.ACTION_VIEW, url);
357
getContext().startActivity(openIntent);
0 commit comments