{ "id": "174637", "key": "AC-6473", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": null, "resolutiondate": null, "created": "2020-01-21T20:28:45.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-02-11T09:01:53.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I am trying to detect an app I have registered using the URL scheme.\r\n\r\nIf I simple user the open command below it works fine, so I assume the other app I am opening has registered it's URL scheme correctly:\r\n\r\n{code}\r\nTi.Platform.openURL(\"urlscheme:\");\r\n{code}\r\n\r\nHowever if I try and check it before opening (so I can redirect to the app store if the user hasn't got the other app installed) it always returns negative:\r\n{code}\r\nif (Titanium.Platform.canOpenURL(\"urlscheme:\")) {\r\n \tTi.API.info(\"can open\");\r\n\tTi.Platform.openURL(\"urlscheme:\");\r\n} else {\r\n \tTi.API.info(\"can't open\");\r\n}\r\n{code}", "attachment": [], "flagged": false, "summary": "canOpenURL no longer working", "creator": { "name": "ldebna", "key": "ldebna", "displayName": "Lee Debnam", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ldebna", "key": "ldebna", "displayName": "Lee Debnam", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "8.2.1", "comment": { "comments": [ { "id": "453841", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~ldebna] what platform do you have this issue at? ", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-01-28T10:17:08.000+0000", "updated": "2020-01-28T10:17:08.000+0000" }, { "id": "453845", "author": { "name": "ldebna", "key": "ldebna", "displayName": "Lee Debnam", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is on iOS using titanium 8.2.1", "updateAuthor": { "name": "ldebna", "key": "ldebna", "displayName": "Lee Debnam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-28T11:23:52.000+0000", "updated": "2020-01-28T11:23:52.000+0000" }, { "id": "453847", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~ldebna] can you test with {{8.3.1.GA}}?", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-01-28T12:18:26.000+0000", "updated": "2020-01-28T12:18:26.000+0000" }, { "id": "454167", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~ldebna] haven't heard back from you yet. Can you provide the exact {{urlscheme}} you want to test instead of the mocked one? Also, do you still have the issue and have you tested on {{8.3.1.GA}}?", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-02-11T09:01:53.000+0000", "updated": "2020-02-11T09:01:53.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }