{ "id": "172806", "key": "AC-6088", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2019-01-15T16:47:47.000+0000", "created": "2019-01-03T09:37:53.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-01-15T16:47:47.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "For android Ti.Geolocation.locationServicesEnabled always return false.\r\n\r\nI tried with 7.1.1GA and 7.5.0.GA on android 6.0.1\r\n", "attachment": [], "flagged": false, "summary": "Android Ti.Geolocation.locationServicesEnabled", "creator": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Android 6.0.1\r\nTested on ti sdk 7.1.1GA and 7.5.0.GA ", "comment": { "comments": [ { "id": "444986", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hello!\r\nThanks for reaching out! We have tested this issue with latest sdk 7.5.0.GA on android, so far we have been unable to reproduce this issue. Ti.Geolocation.locationServicesEnabled return true when location services is on.\r\n\r\nTest Code:\r\n{code}\r\nfunction doClick(e) {\r\n\tgeoLocation();\r\n\r\n}\r\n\r\n$.index.open();\r\n\r\nfunction geoLocation() {\r\n\ttry {\r\n\t\tif (Ti.Geolocation.hasLocationPermissions()) {\r\n\t\t\t// if permission is true check for location toggle\r\n\t\t\tconsole.log(\"Permission::\" + Ti.Geolocation.hasLocationPermissions()\r\n\t\t\t\t\t+ \"*** Toggle::\" + Ti.Geolocation.locationServicesEnabled);\r\n\t\t} else {\r\n\t\t\tconsole.log(\"Else Permission::\" + Ti.Geolocation.hasLocationPermissions()\r\n\t\t\t\t\t+ \"*** Toggle::\" + Ti.Geolocation.locationServicesEnabled);\r\n\t\t}\r\n\t} catch (ex) {\r\n\t\tconsole.log(ex);\r\n\t}\r\n}\r\n\r\n{code}\r\n\r\n*Success Log:*\r\n\r\n[INFO] : Permission::true*** Toggle::true\r\n\r\nTest Environment:\r\n{code}\r\nOperating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.17134\r\n Architecture = 32bit\r\n # CPUs = 4\r\n Memory = 17091956736\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\nTitanium SDK\r\n SDK Version = 7.5.0.GA\r\n{code}\r\nThanks ", "updateAuthor": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2019-01-04T13:49:01.000+0000", "updated": "2019-01-04T13:49:01.000+0000" }, { "id": "445074", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hello [~efrancis],\r\nHope you had a chance to review our last reply. Please let us know what else you need on this. There are no identifiable action item for us on this issue.\r\n", "updateAuthor": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2019-01-08T13:43:51.000+0000", "updated": "2019-01-08T13:43:51.000+0000" }, { "id": "445186", "author": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Thanks, haven't got a chance to verify this, will check this very soon.", "updateAuthor": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2019-01-10T17:00:36.000+0000", "updated": "2019-01-10T17:00:36.000+0000" }, { "id": "445302", "author": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Yes, it's working with 7.5.0 for me too now.\r\n", "updateAuthor": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2019-01-15T06:41:29.000+0000", "updated": "2019-01-15T06:41:29.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }