{ "id": "172549", "key": "TIMOB-26516", "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": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-11-07T00:57:04.000+0000", "created": "2018-11-03T10:42:59.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "analytics", "android", "aps", "id", "regression", "version" ], "versions": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-11-07T23:16:41.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": "*Summary:*\r\nProperties {{Ti.Platform.id}} and {{Ti.Platform.version}} return {{null}} if analytics have been disabled in the \"tiapp.xml\" file. They return the correct values if analytics is enabled.\r\n\r\nThis bug was introduced as of 7.5.0.RC.\r\n\r\n*Steps to reproduce:*\r\n# Set up a Classic app with the \"app.js\" code shown below.\r\n# In the \"tiapp.xml\" file, disabled analytics as shown below.\r\n# Build and run on an Android device.\r\n# In the log, notice that \"id\" and \"version\" return {{null}}. _(This is the bug.)_\r\n\r\n*tiapp.xml*\r\n{code:xml}\r\n\r\n false\r\n\r\n{code}\r\n\r\n*app.js*\r\n{code:javascript}\r\nTi.API.info(\"@@@ Ti.Platform.id: \" + Ti.Platform.id);\r\nTi.API.info(\"@@@ Ti.Platform.version: \" + Ti.Platform.version);\r\n{code}\r\n\r\n*Note:*\r\nI suspect APIs {{Ti.Geolocation.forwardGeocoder()}} and {{Ti.Geolocation.reverseGeocoder()}} might also fail if analytics is disabled.\r\n", "attachment": [], "flagged": false, "summary": "Android: Ti.Platform \"id\" and \"version\" properties return null if analytics disabled as of 7.5.0.RC", "creator": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "7.5.0.v20181102122228 RC on Android", "closedSprints": [ { "id": 1093, "state": "closed", "name": "2018 Sprint 23", "startDate": "2018-11-04T23:35:52.006Z", "endDate": "2018-11-18T23:35:00.000Z", "completeDate": "2018-11-19T05:30:34.338Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "443251", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please provide a full test code that demonstrates the issue. Also, provide steps to reproduce the issue. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-11-03T15:25:23.000+0000", "updated": "2018-11-04T21:46:34.000+0000" }, { "id": "443253", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Take any app.\r\n\r\nIn tiapp.xml, set false\r\n\r\nInsert \r\n\r\nTi.API.info(Ti.Platform.version); // or Ti.Platform.id, etc\r\n\r\nas the first line in app.js\r\n\r\nBuild for Android with SDK 7.5.0 RC\r\n\r\nTi.Platform.version will be \"null\"\r\n\r\n", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-03T18:41:30.000+0000", "updated": "2018-11-03T18:41:30.000+0000" }, { "id": "443262", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I was able to reproduce the issue. Forwarding this to the engineering. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-11-04T21:53:15.000+0000", "updated": "2018-11-04T21:53:15.000+0000" }, { "id": "443277", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Fix version 7.5.0 right?", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2018-11-05T08:34:52.000+0000", "updated": "2018-11-05T08:34:52.000+0000" }, { "id": "443300", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Would be nice to get this fix into 7.5.0. I have a bunch of apps to re-release with Pie support.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-05T19:12:06.000+0000", "updated": "2018-11-05T19:12:06.000+0000" }, { "id": "443314", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/10423", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-06T00:10:27.000+0000", "updated": "2018-11-06T00:10:27.000+0000" }, { "id": "443315", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "7_5_X: https://github.com/appcelerator/titanium_mobile/pull/10424", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-06T00:12:42.000+0000", "updated": "2018-11-06T00:12:42.000+0000" }, { "id": "443328", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Merged to 7_5_X and master branches.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2018-11-06T16:49:15.000+0000", "updated": "2018-11-06T16:49:15.000+0000" }, { "id": "443330", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I still see Platform.id as {{null}} with 7.5.0 & master.\r\n{code}@@@ Ti.Platform.id: null{code}\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-06T18:01:48.000+0000", "updated": "2018-11-06T18:01:48.000+0000" }, { "id": "443332", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "aps_sdk: https://github.com/appcelerator/aps_sdk/pull/326\r\n\r\nmaster: https://github.com/appcelerator/titanium_mobile/pull/10429\r\n7_5_X: https://github.com/appcelerator/titanium_mobile/pull/10430", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-06T19:51:06.000+0000", "updated": "2018-11-06T19:51:06.000+0000" }, { "id": "443334", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-06T21:29:55.000+0000", "updated": "2018-11-06T21:29:55.000+0000" }, { "id": "443339", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR Merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-07T00:56:58.000+0000", "updated": "2018-11-07T00:56:58.000+0000" }, { "id": "443362", "author": { "name": "mj", "key": "mj", "displayName": "martin", "active": true, "timeZone": "Europe/Berlin" }, "body": "Testing with 7.5.0.v20181106170019 and now correctly gets an Id from Ti.Platform.id, but from Ti.Platform.version I get the version of the app (Ti.App.version) instead of the version of the OS...\r\n", "updateAuthor": { "name": "mj", "key": "mj", "displayName": "martin", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-11-07T13:35:50.000+0000", "updated": "2018-11-07T13:35:50.000+0000" }, { "id": "443366", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-07T16:19:12.000+0000", "updated": "2018-11-07T16:19:12.000+0000" }, { "id": "443372", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-07T18:25:14.000+0000", "updated": "2018-11-07T18:25:14.000+0000" }, { "id": "443386", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.5.0.v20181107142952.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-07T23:16:36.000+0000", "updated": "2018-11-07T23:16:36.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }