Skip to content

Commit

Permalink
fix(android): launching intents without host (#6493)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Apr 11, 2023
1 parent 88e8635 commit 6028ff4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ public boolean launchIntent(Uri url) {

Uri appUri = Uri.parse(appUrl);
if (
!(url.getHost().equals(appUri.getHost()) && url.getScheme().equals(appUri.getScheme())) &&
!(appUri.getHost().equals(url.getHost()) && url.getScheme().equals(appUri.getScheme())) &&
!appAllowNavigationMask.matches(url.getHost())
) {
try {
Expand Down

0 comments on commit 6028ff4

Please sign in to comment.