[TIMOB-25677] iOS: Ti.Map - App crashes when re-assigning annotations with clustering enabled
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-01-18T07:26:16.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.0.2 |
Components | iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2018-01-16T16:09:08.000+0000 |
Updated | 2018-01-24T22:01:56.000+0000 |
Description
As described above, the iOS app can crash if we reassign annotations via
setAnnotations
, e.g. after a timeout or network call.
Sample code (thanks [~michael] for reporting on Slack):
https://gist.github.com/hansemannn/7bd2bc68d28637e58fd384253dc86a29
Likely caused by [this PR](https://github.com/appcelerator-modules/ti.map/pull/212), but not a blocker or too critical as it can be workarounded by removing the old ones first. Still an issue that should be addressed.
PR: https://github.com/appcelerator-modules/ti.map/pull/220 Test-Case above. Doing the master/7_0_X PR once the Ti.Map PR is approved.
FR passed.
Closing ticket as ti.map 3.0.2 is correctly downloaded with the SDK. I checked this with SDK 7.0.2.v20180124113923.