Sopo
Sopo

Reputation: 1687

cordova-plugin-inappbrowser not opening links from APP to IOS Device default Browser

Search a lot, but not able to find the correct solution.

I am trying to open links from my app to default browser of my IOS device, 

but its not working. Its perfectly working with my android device.

So looking for some proper solution, which will work.

Thanks & Regards,

Sopo

Upvotes: 0

Views: 4271

Answers (2)

Sopo
Sopo

Reputation: 1687

Finally, after lot of research and thousand of builds, this post helped me to solve the issue.

Reference link

with the help of "cordova-plugin-whitelist" plugin. You need to add "gap:" after default-src attribute, your CSP meta. => default-src gap: *;

Thanks StackOverflow.

Upvotes: 1

HuyTran
HuyTran

Reputation: 153

I simply use this for my project and confirm it's work

cordova.InAppBrowser.open('https://google.com','_self')

Upvotes: 0

Related Questions