{ "id": "174245", "key": "AC-6402", "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": "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": "2019-12-23T14:53:40.000+0000", "created": "2019-10-10T22:31:53.000+0000", "labels": [ "geolocation", "ios", "ios-13" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-12-23T14:53:40.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Since Titanium SDK 8.1.1 and 8.2.0 Geolocation updte events stops receiving updates after a few seconds. This happens both in device and simulator, even when app is in foreground.\r\n\r\nSample code:\r\n\r\n_+Permissions for geolocation have been requested+_\r\n\r\n\r\n{code:java}\r\nTi.Geolocation.accuracy = Titanium.Geolocation.ACCURACY_BEST;\r\nTi.Geolocation.distanceFilter = 0;\r\n\r\nTi.Geolocation.addEventListener('location', function(e){\r\n\tTi.API.info(JSON.stringify(e.coords));\r\n});\r\n{code}\r\n\r\n\r\nAfter a few cycles of updates, location event stops been called. I have a Ti.Map on app screen, and user location shows movement as expected. \r\n\r\nThis issue happened with iOS 12 and Titanium SDK 8.2.0GA but It solved when using SDK 8.0.1 (now not available since iOS 13 and Xcode 11) ", "attachment": [], "flagged": false, "summary": "IOS Geolocation module stops receiving location updates after a while", "creator": { "name": "xalfeiran", "key": "xalfeiran", "displayName": "Xavier Alfeiran", "active": true, "timeZone": "America/Cancun" }, "subtasks": [], "reporter": { "name": "xalfeiran", "key": "xalfeiran", "displayName": "Xavier Alfeiran", "active": true, "timeZone": "America/Cancun" }, "environment": "Xcode 11\r\nMacos 10.14.6\r\nAppcelerator Studio 5.1.4\r\nNodeJS 10.16.3\r\nTitanium SDK 8.1.0,8.1.1, 8.2.0GA\r\nAppc CLI 7.7.1\r\niOS 12 and 13", "comment": { "comments": [ { "id": "451973", "author": { "name": "xalfeiran", "key": "xalfeiran", "displayName": "Xavier Alfeiran", "active": true, "timeZone": "America/Cancun" }, "updateAuthor": { "name": "xalfeiran", "key": "xalfeiran", "displayName": "Xavier Alfeiran", "active": true, "timeZone": "America/Cancun" }, "created": "2019-10-10T22:33:42.000+0000", "updated": "2019-10-10T22:33:42.000+0000" }, { "id": "452627", "author": { "name": "xalfeiran", "key": "xalfeiran", "displayName": "Xavier Alfeiran", "active": true, "timeZone": "America/Cancun" }, "body": "Any news on this?", "updateAuthor": { "name": "xalfeiran", "key": "xalfeiran", "displayName": "Xavier Alfeiran", "active": true, "timeZone": "America/Cancun" }, "created": "2019-11-13T04:38:11.000+0000", "updated": "2019-11-13T04:38:11.000+0000" }, { "id": "452973", "author": { "name": "xalfeiran", "key": "xalfeiran", "displayName": "Xavier Alfeiran", "active": true, "timeZone": "America/Cancun" }, "body": "Ok, I didn't see any reference about the location module being touched in release 8.3.0 of Titanium SDK, but the issue was fixed now.\r\n\r\nThanks!", "updateAuthor": { "name": "xalfeiran", "key": "xalfeiran", "displayName": "Xavier Alfeiran", "active": true, "timeZone": "America/Cancun" }, "created": "2019-12-02T17:34:58.000+0000", "updated": "2019-12-02T17:34:58.000+0000" }, { "id": "453288", "author": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~xalfeiran], Thanks for the information. If you have any others issue feel free to raise a new ticket.", "updateAuthor": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-12-23T14:52:48.000+0000", "updated": "2019-12-23T14:52:48.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }