Stuart
Stuart

Reputation: 21

How to fix Phonegap / Cordova external URL issue

I am trying to link to an external url from a link in my app (this used to work in older version of Phonegap) but I get to a web page that I can't navigate back from. Closing the app and re-opening just goes back to the webpage, not the app page where the link was. Really need some help on this.

Upvotes: 0

Views: 240

Answers (2)

GenieWanted
GenieWanted

Reputation: 4513

You may want to consider using Childbrowser plugin for Phonegap. This is quite handy when it comes to dealing with external links. It allows you to open an external link within your app. Here are some useful links to go about it:

https://github.com/phonegap/phonegap-plugins/tree/master/Android/ChildBrowser https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/ChildBrowser

This could give you some idea:

http://moduscreate.com/opening-all-urls-with-phonegaps-childbrowser-plugin/

Upvotes: 1

Related Questions