0

Can I open external links with Phonegap Cordova (1.8.1) in iOS without the Childbrowser plugin?

Most of the tutorials that talk about this topic are outdated.

Any solution?

Thanks.

dda
  • 6,030
  • 2
  • 25
  • 34
user1477576
  • 1
  • 1
  • 3

2 Answers2

1

Actually, using

<a href="my-external-url" target="_blank">a link like this</a>

Or

window.location.href="my-external-url"

Will open the external URL in the Phonegap webview, not in a browser. If you have this working as you claim, you have solved a really big issue for all phonegap users. Some literature on this topic.

j0k
  • 22,600
  • 28
  • 79
  • 90
Larry
  • 19
  • 1
0

You can use window.open with "_system" as the window name (InAppBrowser)

MosheElisha
  • 1,930
  • 2
  • 22
  • 27