{ "id": "155237", "key": "TIMOB-20490", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-09-30T16:22:36.000+0000", "created": "2016-03-01T09:30:37.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" }, { "id": "17684", "name": "Release 5.2.1", "archived": false, "released": true, "releaseDate": "2016-03-25" } ], "issuelinks": [ { "id": "50723", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "outwardIssue": { "id": "155125", "key": "TIMOB-20459", "fields": { "summary": "Android newintent event not fired", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50724", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "outwardIssue": { "id": "119016", "key": "TIMOB-15253", "fields": { "summary": "Android: singleTask launchMode with HeavyWeight window hangs after 1st launch", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "52850", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "163490", "key": "TIMOB-23955", "fields": { "summary": "Hyperloop - not possible to start a native activity and get its result", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "52657", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "119016", "key": "TIMOB-15253", "fields": { "summary": "Android: singleTask launchMode with HeavyWeight window hangs after 1st launch", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "52655", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "155282", "key": "TIMOB-20502", "fields": { "summary": "Using Android shortcut to start new activity fails to detect Alloy.", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "52874", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "163585", "key": "TIMOB-23969", "fields": { "summary": "Android: Exiting an app by pressing back prevents the app from being resumed", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-01-06T23:29:47.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" } ], "attachment": [ { "id": "60328", "filename": "com.alloy.zip", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-26T18:37:45.000+0000", "size": 1490484, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Apps should be able to open/resume and respond to intents", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.11.3\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.2.2\r\n npm Version = 2.14.7\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\nTitanium SDK\r\n SDK Version = 5.2.0.GA, 5.2.1.GA\r\n Target Platform = android", "closedSprints": [ { "id": 722, "state": "closed", "name": "2016 Sprint 20 SDK", "startDate": "2016-09-28T16:50:17.299Z", "endDate": "2016-10-12T16:50:00.000Z", "completeDate": "2016-10-10T06:17:01.016Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "378256", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "/cc [~msamah] [~jasonkneen]", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-01T09:31:31.000+0000", "updated": "2016-03-01T09:31:31.000+0000" }, { "id": "393561", "author": { "name": "arohini", "key": "arohini", "displayName": "Ajith Rohini", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~msamah], [~sliang] Is it okay if I send the above link to client to test it ?", "updateAuthor": { "name": "arohini", "key": "arohini", "displayName": "Ajith Rohini", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-19T00:26:53.000+0000", "updated": "2016-08-19T00:26:53.000+0000" }, { "id": "395365", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "For a classic app, with this Branch: https://github.com/ashcoding/titanium_mobile/tree/TIMOB-20490a \r\n1) Build the app and run it\r\n2) Go to the directory of the app, head to {{/build/android/AndroidManifest.xml}}\r\n3) Get the XML for the activities in the application\r\n4) Add the intent-filter to the xml\r\n{code}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n{code}\r\nThe resulting XML will be this.\r\n{code}\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n{code}\r\n5) Take this and merge it into the {{tiapp.xml}}.\r\n6) Add the following code to the top of {{app.js}}\r\n{code}\r\n\r\nTi.Android.currentActivity.addEventListener('onIntent', function(e) {\r\n // code here is run when the event is fired\r\n // properties of the event object 'e' describe the event and object that received it\r\n Ti.API.info('The '+e.intent+' event happened');\r\n var intentObj = e.intent;\r\n var stringItem = intentObj.getStringExtra(\"android.intent.extra.TEXT\");\r\n if(stringItem){\r\n var win1 = Ti.UI.createWindow({\r\n title:'Received',\r\n backgroundColor:'#fff'\r\n });\r\n var label1 = Titanium.UI.createLabel({\r\n color:'#999',\r\n text: stringItem,\r\n });\r\n \r\n win1.add(label1);\r\n win1.open();\r\n Ti.API.info('Successfully received:'+stringItem);\r\n }\r\n});\r\n{code}\r\n7) Run the app\r\n8) Git clone https://github.com/ashcoding/AndroidIntentExample and change the {{packageName}} and {{activityName}} in Android Studio and run the app\r\n9) Click the button in AndroidIntentExample app. It will open the Titanium App and pass the string data.\r\n\r\nFor alloy, it's still being looked into.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-09-06T05:20:04.000+0000", "updated": "2016-09-06T05:20:04.000+0000" }, { "id": "397305", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/8433", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-26T19:01:56.000+0000", "updated": "2016-09-26T19:01:56.000+0000" }, { "id": "397880", "author": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "body": "will this be released in 6.1 like the other two tickets referenced in that PR? (ticket has no Fix Version/s)", "updateAuthor": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "created": "2016-10-03T14:04:38.000+0000", "updated": "2016-10-03T14:04:38.000+0000" }, { "id": "397935", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Hey [~acvauctions]! Yeah, this PR was merged to SDK master, which is the current 6.1.0 targeted branch. We have a handful of tickets around the same area, and I think they might be worth trying to get in 6.0.0 - I'll bug Kiat.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-10-03T19:59:27.000+0000", "updated": "2016-10-03T19:59:27.000+0000" }, { "id": "398020", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews] please backport.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-03T23:08:52.000+0000", "updated": "2016-10-03T23:08:52.000+0000" }, { "id": "398121", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "cc [~acvauctions] These intent/activity related bug fixes have now beenbackported to 6_0_X, should should be on that branch and in the upcoming 6.0.0 release.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-10-05T14:26:03.000+0000", "updated": "2016-10-05T14:26:03.000+0000" }, { "id": "398124", "author": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "body": "Thank you! :D", "updateAuthor": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "created": "2016-10-05T15:06:50.000+0000", "updated": "2016-10-05T15:06:50.000+0000" }, { "id": "404229", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, was able to follow the instructions mentioned in the following PR https://github.com/appcelerator/titanium_mobile/pull/8433\r\n*Environment*\r\n{code:java}\r\nAppcelerator Command-Line Interface, version 6.1.0\r\nAndroid 7.1 (Google Nexus 6P)\r\nOperating System Name: Mac OS X El Capitan\r\nOperating System Version: 10.11.6\r\nNode.js Version: 4.6.0\r\nnpm: 4.2.8\r\nTitanium SDK Version: 6.1.0.v20170105103604\r\nXcode: 8.0\r\nAppcelerator Studio: 4.8.1.201612050850\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-06T23:29:34.000+0000", "updated": "2017-01-06T23:29:34.000+0000" } ], "maxResults": 37, "total": 37, "startAt": 0 } } }