Skip to content

Commit

Permalink
fix(android): open external links in browser (#5913)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Sep 14, 2022
1 parent b8b9b1f commit 7553ede
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public boolean launchIntent(Uri url) {
}
}

if (!url.toString().contains(appUrl) && !appAllowNavigationMask.matches(url.getHost())) {
if (!url.toString().startsWith(appUrl) && !appAllowNavigationMask.matches(url.getHost())) {
try {
Intent openIntent = new Intent(Intent.ACTION_VIEW, url);
getContext().startActivity(openIntent);
Expand Down

0 comments on commit 7553ede

Please sign in to comment.