Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25677] iOS: Ti.Map - App crashes when re-assigning annotations with clustering enabled

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2018-01-18T07:26:16.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.0.2
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2018-01-16T16:09:08.000+0000
Updated2018-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.

Comments

  1. Hans Knöchel 2018-01-16

    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.
  2. Abir Mukherjee 2018-01-23

    FR passed.
  3. Abir Mukherjee 2018-01-24

    Closing ticket as ti.map 3.0.2 is correctly downloaded with the SDK. I checked this with SDK 7.0.2.v20180124113923.

JSON Source