{ "id": "172360", "key": "TIMOB-26454", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2018-11-29T23:52:00.000+0000", "created": "2018-09-27T10:35:42.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "gps", "manualmode" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-11-30T09:48:25.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": "I was implementing the Titanium reverse geocoding in my app, on iOS I have had no problems so I also do it on android, suddenly app freeze.\r\n\r\nBut I think I found the problem:\r\nWhen Ti.Geolocation.Android.manualMode = true;\r\nTitanium.Geolocation.reverseGeocoder not works and freeze the app.\r\n\r\nI attach my index file where you can see the //commented line for manual mode, decomment it and see after first location event everything freeze", "attachment": [ { "id": "65658", "filename": "index.js", "author": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "created": "2018-09-27T10:35:00.000+0000", "size": 1685, "mimeType": "text/javascript" } ], "flagged": false, "summary": "Reverse geocoding freeze the app when manualMode is true", "creator": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "environment": "iMac", "closedSprints": [ { "id": 1095, "state": "closed", "name": "2018 Sprint 24", "startDate": "2018-11-19T05:35:58.310Z", "endDate": "2018-12-03T05:35:00.000Z", "completeDate": "2018-12-03T16:28:57.549Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "442394", "author": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "body": "Any news?", "updateAuthor": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "created": "2018-10-08T09:56:56.000+0000", "updated": "2018-10-08T09:56:56.000+0000" }, { "id": "442423", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I tried to test your sample code for reverse geocoding. There is a problem with the code, I got this error\r\n \r\n[ERROR] V8Exception: Exception occurred at /alloy/controllers/index.js:86: Uncaught ReferenceError: monitorLocation is not defined\r\n\r\nPlease provide the full reproducible code. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-10-08T21:38:12.000+0000", "updated": "2018-10-08T21:38:12.000+0000" }, { "id": "442443", "author": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "body": "Jus remove that line.", "updateAuthor": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "created": "2018-10-09T12:42:44.000+0000", "updated": "2018-10-09T12:42:44.000+0000" }, { "id": "442594", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I was able to reproduce the issue on Android 8.1 device using SDK 7.4.0.GA. With manualMode=true there is no log shows on the console about the location info. without the manualMode the location info is shown in the console after app opens up. Thanks. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-10-14T22:32:22.000+0000", "updated": "2018-10-14T22:32:22.000+0000" }, { "id": "442934", "author": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "body": "No news here?", "updateAuthor": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "created": "2018-10-25T11:06:39.000+0000", "updated": "2018-10-25T11:06:39.000+0000" }, { "id": "444070", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~Pietro] Your accuracy filter is set too low, change {{accuracy: 10}} into something greater, such as {{accuracy: 30}}.\r\n\r\nBy setting accuracy too low you are preventing location updates from passing your filter. This prevents the callback being fired and the {{reverseGeocoder}}.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-29T23:49:19.000+0000", "updated": "2018-11-29T23:51:31.000+0000" }, { "id": "444087", "author": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "body": "Hi Gary and thank you for the answer, but I need that accuracy for the purpose of the app.\r\nSo, you're telling me that reversegeocode CRASH the app if the accuracy is too low?", "updateAuthor": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "created": "2018-11-30T09:48:25.000+0000", "updated": "2018-11-30T09:48:25.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }