Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17988] Android 5.0: Maps crash when adding array of Annotations and android:debuggable set to true

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-11-21T22:08:25.000+0000
Affected Version/sRelease 3.4.1
Fix Version/sRelease 3.5.0, Release 4.0.0
ComponentsAndroid
Labelsn/a
ReporterEduardo Gomez
AssigneeHieu Pham
Created2014-11-07T00:33:29.000+0000
Updated2015-01-05T19:42:17.000+0000

Description

Issue Description

When using the TiSDK 3.4.1 and Map module v2.2.1, if android:debuggable is set to true and an array of annotations is added to the map then the app crashes.

Steps to reproduce

Install sample app (Maps_Android_L_Crash.zip) that includes Annotations images onto Android 5.0 device.

Launch the app

A call to add a single annotation works.

4 seconds later the app crashes when it apptemps to add the array of annotation to the app.

App it crashes. Logs: Maps_Android_L_Crash.txt.

Change android:debuggable to be false via Manifest section at tiapp.xml

Install and launch the app

Notice it does not crash and 3 pins are populated on the map.

Expected behaviour

The app should not crash when debuggable is set to true.

Attachments

FileDateSize
Maps_Android_L_Crash.txt2014-11-07T00:33:29.000+000016326
Maps_Android_L_Crash.zip2014-11-07T00:33:29.000+00005834617

Comments

  1. Hieu Pham 2014-11-20

    master PR: https://github.com/appcelerator-modules/ti.map/pull/71
  2. Ingo Muschenetz 2014-11-21

    Map fix is complete and merged, so resolving.
  3. Ingo Muschenetz 2014-11-21

    [~hpham], can we get a merge to master and 3_5_X for the packaged module?
  4. Hieu Pham 2014-12-05

    SDK 3.5.X update: https://github.com/appcelerator/titanium_mobile/pull/6441 SDK master update: https://github.com/appcelerator/titanium_mobile/pull/6442
  5. Lokesh Choudhary 2015-01-05

    Verified the fix. Map does not crash when adding array of Annotations and android:debuggable set to true. Closing. Environment: Appc Studio : 3.4.1.201410281743 Ti SDK : 3.6.0.v20150105084202, 3.4.1.GA, 3.5.0.v20141222103320 CLI : 3.4.1 Alloy : 1.5.1 GA Map Module : 2.2.3 Code Processor : 1.1.1 MAC Yosemite : 10.10 Nexus 5 - Android 5.0.1

JSON Source