{ "id": "173044", "key": "TIMOB-26851", "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": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-03-04T10:12:37.000+0000", "created": "2019-02-23T01:24:42.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "accuracy", "android", "geolocation", "location", "regression" ], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-03-04T10:12:37.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 8.0.0.RC, the {{Ti.Geolocation}} event \"location\" will never fire if \"accuracy\" is set to {{Ti.Geolocation.ACCURACY_HIGH}}, which is the default accuracy setting.\r\n\r\n*Steps to reproduce:*\r\n# Build and run [^GeocoderTest.js] on Android.\r\n# When a dialog asks for permission, tap the \"Allow\" button.\r\n# Wait for location data.\r\n# Notice that location data is never received.\r\n# In the [^GeocoderTest.js], uncomment the {{ACCURACY_HIGH}} line.\r\n# Rebuild and run on Android.\r\n# Notice that location data is now being received and shown onscreen.\r\n\r\n*Note:*\r\nThe {{Ti.Geolocation}} \"accuracy\" property defaults to {{ACCURACY_LOW}}, which means location data will never be received by default.\r\n\r\n*Work-Around:*\r\nThe \"location\" event will fire if accuracy is set to high.\r\n{code:javascript}\r\nTi.Geolocation.accuracy = Ti.Geolocation.ACCURACY_HIGH\r\n{code}", "attachment": [ { "id": "66181", "filename": "GeocoderTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-23T01:21:33.000+0000", "size": 1186, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: \"location\" event never fires for \"ACCURACY_LOW\" as of 8.0.0.RC", "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": "446377", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/10728\r\n8_0_X: https://github.com/appcelerator/titanium_mobile/pull/10731", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-27T23:30:26.000+0000", "updated": "2019-02-27T23:30:26.000+0000" }, { "id": "446477", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, fix verified in SDK Version {{8.1.0.v20190301155716}} and SDK Version {{8.0.0.v20190301145350}}.\r\n\r\nTest and other information can be found at: \r\nmaster: https://github.com/appcelerator/titanium_mobile/pull/10728\r\n8_0_X: https://github.com/appcelerator/titanium_mobile/pull/10731", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-04T10:12:30.000+0000", "updated": "2019-03-04T10:12:30.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }