Problem description
In some cases, iOS7 does not properly open the iTunes links using Ti.Platform.openURL. It looks like the device fails to open the link if the country code is not correct. Tested using MobileWeb.
Steps to reproduce
Create a MobileWeb app with this code:
var win = Ti.UI.createWindow({
backgroundColor: 'white'
});
var btn = Ti.UI.createButton({
title: "Open"
});
btn.addEventListener('click', function() {
Ti.Platform.openURL('https://itunes.apple.com/us/app/junos-pulse/id381348546');
});
win.add(btn);
win.open();
When clicking the button on Safari on iOS7, the store is not opened. Seems to work fine on my device if I remove the country code.
[~dcassenti] What happens if you use a different platform besides Mobile Web?
Seems to be working if I compile for iOS. Tested with different country codes as well (us, gb and it).
Verified the following: With Mac 10.8.4 running web server and packaged mobileweb application with the code above, safari opened iTunes store view of junos-pulse. Used Xcode 5, beta 6, iOS 7 beta 6 (11A4449d) Verified on iPad 4 and iPhone 5.
Closing ticket as "Cannot Reproduce".