I'm using Cordova 5.1.1 and I need to open from my app the App's site on iTunes.
If I do
window.open('https://itunes.apple.com/us/app/angry-birds/id343200656?mt=8&uo=4', "_system","location=no");
I get in Safari "Safari cannot open the page because the address is invalid". My address is valid.
If I try
window.open('itms-apps://itunes.apple.com/us/app/angry-birds/id343200656?mt=8&uo=4', "_system","location=no");
I get "This app is not allowed to query for scheme itms-apps"
I've tried using the encodeurl function and it's the same.
Any idea?