PhoneGap: Open external link in default browser (outside the app)

前端 未结 16 1707
我在风中等你
我在风中等你 2020-12-09 15:36

I\'m trying to open links in Safari (on an iPhone) from a PhoneGap application. I\'m using PhoneGap version 3.1.0, and use PhoneGap Build, to build the application.

16条回答
  •  独厮守ぢ
    2020-12-09 16:25

    This is how I got mine to work.

    1. In config.xml (phonegap) add
    2. My hrefs look as followed: link
    3. Very important, what I was missing from the start, add the cordova script in your header: I don't know why, but for me without it it don't work.

    Hopefully that will help

提交回复
热议问题