{
"id": "92891",
"key": "TIMOB-9416",
"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": "13418",
"description": "Sprint 2012-13 Core",
"name": "Sprint 2012-13 Core",
"archived": true,
"released": true,
"releaseDate": "2012-07-01"
},
{
"id": "13572",
"description": "Release 2.1.1",
"name": "Release 2.1.1",
"archived": true,
"released": true,
"releaseDate": "2012-07-31"
},
{
"id": "13505",
"description": "Release 3.0.0",
"name": "Release 3.0.0",
"archived": true,
"released": true,
"releaseDate": "2012-12-14"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2012-07-06T10:11:37.000+0000",
"created": "2012-06-06T10:23:24.000+0000",
"priority": {
"name": "Medium",
"id": "3"
},
"labels": [
"core",
"qe-port"
],
"versions": [
{
"id": "13272",
"description": "Release 2.0.1",
"name": "Release 2.0.1",
"archived": true,
"released": true,
"releaseDate": "2012-04-16"
}
],
"issuelinks": [
{
"id": "18265",
"type": {
"id": "10001",
"name": "Cloners",
"inward": "is cloned into",
"outward": "is cloned from"
},
"inwardIssue": {
"id": "94334",
"key": "TIMOB-9863",
"fields": {
"summary": "Android: Custom url doesn't open the app on 3.x+ devices",
"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": "Medium",
"id": "3"
},
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
}
}
}
}
],
"assignee": {
"name": "ayeung",
"key": "ayeung",
"displayName": "Allen Yeung",
"active": true,
"timeZone": "America/Los_Angeles"
},
"updated": "2013-12-03T21:44:10.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": "h4. Problem Description \r\nCustomer wants to registrate his own url in android, so he can open the app with something like this://is.sparta from the browser in android. We got a really nice recipe on this, but it's not working anymore. \r\n\r\nh4. Actual Results\r\nThe custom url is not registered.\r\n\r\nh4. Expected Results\r\nThe custom url should work nice.\r\n\r\nh4. Test case:\r\n1. Create mobile project.\r\n2. Add this to the app.js:\r\n{code}\r\nvar win = Ti.UI.createWindow({ backgroundColor: '#fff' });\r\nwin.add(Ti.UI.createLabel({ text: 'Type http://www.appcelerator.com in a browser, and this app will get launched. Try it!' }));\r\nwin.open();\r\n{code}\r\n3. Add this to launchFromURL.js:\r\n{code}\r\nvar activity = Ti.Android.currentActivity;\r\nvar win = Ti.UI.currentWindow;\r\n\r\nactivity.addEventListener(\"create\", function(e) {\r\n win.add(Ti.UI.createButton({title: 'Our app was launched when you typed http://www.appcelerator.com!'}));\r\n});\r\n{code}\r\n4. Add this to the tiapp.xml\r\n{code}\r\n