{ "id": "171165", "key": "TIMOB-25797", "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": "20102", "name": "Release 7.1.1", "archived": false, "released": true, "releaseDate": "2018-05-02" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-03-21T21:42:51.000+0000", "created": "2018-02-22T21:47:33.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-03-23T11:51:11.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": "h5.Steps to reproduce:\r\n1. Use the code below in your app.js:\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: 'Click Me'\r\n});\r\n\r\nbtn.addEventListener('click', function(e) {\r\n\r\n console.log('Ti.Geolocation.hasLocationPermissions() ' + Ti.Geolocation.hasLocationPermissions());\r\n\r\n console.log('Ti.Geolocation.locationServicesEnabled ' + Ti.Geolocation.locationServicesEnabled);\r\n \r\n alert('locationServicesEnabled = ' + Ti.Geolocation.locationServicesEnabled);\r\n\r\n if (Ti.Geolocation.hasLocationPermissions()) {\r\n getCurrentPosition();\r\n\r\n } else {\r\n Ti.Geolocation.requestLocationPermissions(null, getCurrentPosition);\r\n }\r\n});\r\n\r\nfunction getCurrentPosition() {\r\n Ti.Geolocation.getCurrentPosition(function(e) {\r\n console.log('Ti.Geolocation.getCurrentPosition() ' + JSON.stringify(e));\r\n });\r\n}\r\n\r\nwin.add(btn);\r\nwin.open();\r\n{code}\r\n2. Make sure you do not have ti.playservices module in your app.\r\n3. Build the app on Android device/emulator. (I saw the logs on Nexus 6P Android 8.0 & Android 4.4.4 emulator).\r\n4. After app launch tap click me button.\r\n5. Allow location permissions.\r\n6. Check the logs.\r\n\r\nh5.Actual results:\r\n1. These info logs are seen : https://gist.github.com/lokeshchdhry/bc231d92727852c4a74f8f37e3465d53\r\n\r\nh5. Expected results:\r\n1. The info logs should not be logged.", "attachment": [], "flagged": false, "summary": "Android: Remove unnecessary Google Play Services logs", "creator": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1008, "state": "closed", "name": "2018 Sprint 06 SDK", "startDate": "2018-03-11T22:18:04.396Z", "endDate": "2018-03-25T22:18:00.000Z", "completeDate": "2018-03-25T21:52:36.683Z", "originBoardId": 216 } ], "comment": { "comments": [ { "id": "434792", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "-master:- https://github.com/appcelerator/titanium_mobile/pull/9876", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-22T21:50:13.000+0000", "updated": "2018-03-20T21:25:07.000+0000" }, { "id": "435775", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/9950", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-20T21:23:55.000+0000", "updated": "2018-03-20T21:23:55.000+0000" }, { "id": "435781", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews], Can you please provide a backport.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-20T22:23:21.000+0000", "updated": "2018-03-20T22:23:21.000+0000" }, { "id": "435783", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "7_1_X: https://github.com/appcelerator/titanium_mobile/pull/9951", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-20T23:06:38.000+0000", "updated": "2018-03-20T23:06:38.000+0000" }, { "id": "435819", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nPR's merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-21T21:42:36.000+0000", "updated": "2018-03-21T21:42:47.000+0000" }, { "id": "435862", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified in SDK Version 7.1.1.v20180322144031 and 7.2.0.v20180322112525.\r\n\r\nTest and other information can be found at:\r\n7_1_X: https://github.com/appcelerator/titanium_mobile/pull/9951\r\nMaster: https://github.com/appcelerator/titanium_mobile/pull/9950", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-23T11:51:05.000+0000", "updated": "2018-03-23T11:51:05.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }