{ "id": "85433", "key": "TIMOB-7391", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-02-14T16:06:54.000+0000", "created": "2012-01-24T18:16:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "parity", "tbs-1.9.0" ], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-12-09T00:20:55.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": "Ti.Geolocation.locationServicesEnabled always return false even when the Use wireless networks and Use GPS satellites are checked. alert('Please enable location services')\r\nh4. Repro Steps \r\nRun the below code in the android device \r\n{code} \r\nvar win = Ti.UI.createWindow({ \r\n\tbackgroundColor:'white' \r\n}); \r\nif (Ti.Geolocation.locationServicesEnabled) { \r\n //Ti.Geolocation.purpose = 'Get your current location'; \r\n} else { \r\n alert('Please enable location services'); \r\n} \r\nwin.open(); \r\n{\\code} ", "attachment": [], "flagged": false, "summary": "Android: Ti.Geolocation.locationServicesEnabled is always false", "creator": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "android 2.3.5\r\nDROID RAZR", "comment": { "comments": [ { "id": "181942", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "This issue latest notification was not sent due to JIRA mail setting. Fixed now. Please check the issue for latests changes.", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2012-02-06T06:35:17.000+0000", "updated": "2012-02-06T06:35:17.000+0000" }, { "id": "183097", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can not reproduce with latest master.\r\nPlease make sure to request user permission in AndroidManifest.xml (http://developer.android.com/guide/topics/location/obtaining-user-location.html#Permission)", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-14T14:21:59.000+0000", "updated": "2012-02-14T14:21:59.000+0000" }, { "id": "415895", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as I am unable to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nMacOS 10.11.6 (15G31)\r\nStudio 4.8.1.201612050850\r\nTi SDK 6.0.3 GA\r\nAppc NPM 4.2.8\r\nAppc CLI 6.1.0\r\nTi CLI 5.0.11\r\nAlloy 1.9.5\r\nArrow 1.10.1\r\nXcode 8.2 (8C38)\r\nNode v4.6.0\r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-27T18:22:37.000+0000", "updated": "2017-03-27T18:22:37.000+0000" }, { "id": "431889", "author": { "name": "webtys", "key": "webtys", "displayName": "Bryant T.", "active": true, "timeZone": "America/New_York" }, "body": "This is happening for me on android 5.1.1. Meanwhile, android 6.0 and 6.0.1 both work perfectly.", "updateAuthor": { "name": "webtys", "key": "webtys", "displayName": "Bryant T.", "active": true, "timeZone": "America/New_York" }, "created": "2017-12-09T00:20:55.000+0000", "updated": "2017-12-09T00:20:55.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }