@capacitor/android 4.7.1 → 4.7.2-dev-20230330T154908.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -369,7 +369,11 @@ public class Bridge {
|
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
-
|
|
372
|
+
Uri appUri = Uri.parse(appUrl);
|
|
373
|
+
if (
|
|
374
|
+
!(url.getHost().equals(appUri.getHost()) && url.getScheme().equals(appUri.getScheme())) &&
|
|
375
|
+
!appAllowNavigationMask.matches(url.getHost())
|
|
376
|
+
) {
|
|
373
377
|
try {
|
|
374
378
|
Intent openIntent = new Intent(Intent.ACTION_VIEW, url);
|
|
375
379
|
getContext().startActivity(openIntent);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/android",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.2-dev-20230330T154908.0",
|
|
4
4
|
"description": "Capacitor: Cross-platform apps with JavaScript and the web",
|
|
5
5
|
"homepage": "https://capacitorjs.com",
|
|
6
6
|
"author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "5ce68bbb290f63ca1d15a9f87e0c2254896e0bfe"
|
|
32
32
|
}
|