{ "id": "171796", "key": "TIMOB-26131", "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": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-06-26T13:41:10.000+0000", "created": "2018-06-14T19:11:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "google-play-services", "sdk" ], "versions": [ { "id": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" } ], "issuelinks": [ { "id": "56616", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "171691", "key": "MOD-2428", "fields": { "summary": "Module will not build following update of SDK from 7.0.2 -> 7.1.0+", "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 } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-07-02T21:15:08.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\nAs of Titanium 7.1.0, the SDK is wrongly including the following JAR files to all Android app builds...\r\n* play-services-base-11.0.4.jar\r\n* play-services-basement-11.0.4.jar\r\n* play-services-location-11.0.4.jar\r\n* play-services-tasks-11.0.4.jar\r\n\r\nOn a Mac, you can verify that the above libraries are wrongly being included by going to the following directory in Finder...\r\n{{~/Library/Application Support/Titanium/mobilesdk/osx/7.x.x/android}}\r\n\r\nThese 4 libraries are not supposed to be there and it's preventing us from updating the \"ti.playservices\" module's Google Play Services libraries to a newer version (will cause a version conflict).\r\n\r\n*Note:*\r\nTitanum's core \"geolocation\" code needs a reference to the above mentioned JAR files to compile, but it doesn't require the JAR files to be included. This is because our \"geolocation\" code will dynamically detect the existence of the Google Play Services classes via reflection... and if they don't exist, it'll fallback to using the OS' location APIs instead. So, we need to exclude the Google Play Services JARs when packaging the SDK.", "attachment": [], "flagged": false, "summary": "Android: SDK is wrongly adding core \"Google Play Services\" libraries as of 7.1.0", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "438569", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/10127", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-20T21:47:50.000+0000", "updated": "2018-06-20T21:47:50.000+0000" }, { "id": "438694", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I think the PR changes are small enough to be back-ported to 7.3.0.\r\nAnd it will help reduce the chance of the app being multidexed unnecessarily.\r\n\r\nI don't foresee any issues. I've tested our geolocation APIs with these JARs missing and our core code correctly falls-back to the OS' location APIs.\r\n\r\n(I've talked to [~amukherjee] about this during today's meeting and he is okay with this.)", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-26T00:22:17.000+0000", "updated": "2018-06-26T00:22:17.000+0000" }, { "id": "438702", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (7_3_X): https://github.com/appcelerator/titanium_mobile/pull/10132", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-06-26T06:04:26.000+0000", "updated": "2018-06-26T06:04:26.000+0000" }, { "id": "438938", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket.* Fix verified in SDK Version {{7.3.0.v20180628132121}} and SDK Version: {{7.4.0.v20180702110619}}.\r\n\r\n*FR Passed*\r\nCan no longer see the following files in the {{/Library/Application Support/Titanium/mobilesdk/osx/7.x.x/android}} directory.\r\n* play-services-base-11.0.4.jar\r\n* play-services-basement-11.0.4.jar\r\n* play-services-location-11.0.4.jar\r\n* play-services-tasks-11.0.4.jar\r\n\r\n*Test Environment*\r\n{code:java}\r\nAPPC Studio: 5.0.0.201712081732\r\nAPPC CLI: 7.0.4\r\nPixel XL (8.1.0)\r\nOperating System Name: Mac OS High Sierra\r\nOperating System Version: 10.13\r\nNode.js Version: 8.9.1\r\nXcode 9.2\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-07-02T21:14:56.000+0000", "updated": "2018-07-02T21:14:56.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }