{ "id": "83234", "key": "TIMOB-6381", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2016-08-22T18:32:15.000+0000", "created": "2011-11-30T11:03:09.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "14015", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "83175", "key": "TIMOB-6355", "fields": { "summary": "iOS: Support handleOpenURL", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T21:08:17.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h3.New Feature Request\r\n\r\nPlease add the functionality for launching the app from the URL. Similar functionality that is provided on iOS with handleOpenURL so that it would allow you to register the specific url path. \r\n\r\nThe final result should be that while inside some .html file we put test it would open the myapp and we will get the input (\"test\"). That should also work when we are inside the application and using the webview (should trigger the internal event).\r\n\r\nThe Titanium code should look like:\r\n\r\n{code}\r\nTi.App.addEventListener(\"handleOpenURL\",function(e){\r\n alert(e.input); //would return the input list/array\r\n});\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: application URL scheme", "creator": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 5.0.1, Simulator", "comment": { "comments": [ { "id": "393819", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "{{handleOpenURL}} is an iOS specific event, that is not used by the Titanium SDK (as of 5.4.0). It may have been supported once upon a time, but certainly not today.\r\n\r\nThere are alternative ways to get the URL and handle it. For Android, you must read {{Ti.Android.currentActivity.intent.data}} as soon as the app launches. For iOS, you reference {{Ti.App.getArguments().url}}. It is suggested that {{Ti.App.getArguments().url}} is also supported on Android.\r\n\r\nFor an example of how to use it, please refer to the following articles:\r\n\r\n* https://gist.github.com/jasonkneen/5736738\r\n* http://fokkezb.nl/2013/08/26/url-schemes-for-ios-and-android-1/\r\n* http://fokkezb.nl/2013/09/20/url-schemes-for-ios-and-android-2/\r\n\r\nSince we have a prescribed way of handling URL schemes, I see this \"new feature\" as being something we're interesting in adding today. Resolving as won't fix.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-22T18:32:16.000+0000", "updated": "2016-08-22T18:42:57.000+0000" }, { "id": "414957", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Won't Fix\".", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:08:17.000+0000", "updated": "2017-03-22T21:08:17.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }