Hello
i use phonegap build
and i use on my local index.html
window.location = "http://myurl";
but it not working and the application stuck on index.html
i use phonegap build
and i use on my local index.html
window.location = "http://myurl";
but it not working and the application stuck on index.html
- 10 Posts
- 0 Reply Likes
Posted 4 years ago
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
That is not sufficient if you are using a PGB version greater than 3.7.0
You should use the whitelist plugin from npm, and also set an allow-navigation rule for the external domain.
See the documentation that comes with that plugin.
You should use the whitelist plugin from npm, and also set an allow-navigation rule for the external domain.
See the documentation that comes with that plugin.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Khaldoun,
if you are loading a second local HTML file, you do not need http://. Otherwise, i have no idea what you are doing.
Jesse
if you are loading a second local HTML file, you do not need http://. Otherwise, i have no idea what you are doing.
Jesse
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers


