{ "id": "118859", "key": "TIMOB-14929", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15690", "description": "2013 Sprint 18 API", "name": "2013 Sprint 18 API", "archived": true, "released": true, "releaseDate": "2013-09-06" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-08-23T22:33:09.000+0000", "created": "2013-08-21T13:05:12.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios7" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-31T21:52:25.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h2. Problem description\r\nIn 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.\r\n\r\nh2. Steps to reproduce\r\nCreate a MobileWeb app with this code:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n\ttitle: \"Open\"\r\n});\r\n\r\nbtn.addEventListener('click', function() {\r\n\tTi.Platform.openURL('https://itunes.apple.com/us/app/junos-pulse/id381348546');\t\r\n});\r\n\r\nwin.add(btn);\r\nwin.open();\r\n{code}\r\n\r\nWhen 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.", "attachment": [], "flagged": false, "summary": "iOS7: Ti.Platform.openURL does not work properly on iOS7 and iTunes links", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS7\r\nSDK 3.1.2\r\nMobileWeb", "comment": { "comments": [ { "id": "267544", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~dcassenti] What happens if you use a different platform besides Mobile Web?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-21T22:35:30.000+0000", "updated": "2013-08-21T22:35:30.000+0000" }, { "id": "267600", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Seems to be working if I compile for iOS. Tested with different country codes as well (us, gb and it).", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-08-22T13:40:24.000+0000", "updated": "2013-08-22T13:40:24.000+0000" }, { "id": "267978", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the following:\nWith 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)\n\nVerified on iPad 4 and iPhone 5. ", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-23T22:32:52.000+0000", "updated": "2013-08-23T22:32:52.000+0000" }, { "id": "416543", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Cannot Reproduce\".", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T21:52:25.000+0000", "updated": "2017-03-31T21:52:25.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }