Skip to content

Commit

Permalink
fix(android): launching intents without host (#6489)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored and markemer committed Apr 17, 2023
1 parent ae028a4 commit f909681
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,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 f909681

Please sign in to comment.