mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-04 00:13:20 +08:00
fix(PluginManager): AllowNavigation default policy to handle scheme & hostname (#1349)
This commit is contained in:
parent
aea6b7f6f4
commit
ca19084b1c
@ -455,7 +455,7 @@ public class PluginManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Default policy:
|
// Default policy:
|
||||||
return url.startsWith("file://") || url.startsWith("about:blank");
|
return url.startsWith(getLaunchUrlPrefix()) || url.startsWith("about:blank");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user