[TIMOB-17988] Android 5.0: Maps crash when adding array of Annotations and android:debuggable set to true
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-11-21T22:08:25.000+0000 |
Affected Version/s | Release 3.4.1 |
Fix Version/s | Release 3.5.0, Release 4.0.0 |
Components | Android |
Labels | n/a |
Reporter | Eduardo Gomez |
Assignee | Hieu Pham |
Created | 2014-11-07T00:33:29.000+0000 |
Updated | 2015-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
master PR: https://github.com/appcelerator-modules/ti.map/pull/71
Map fix is complete and merged, so resolving.
[~hpham], can we get a merge to master and 3_5_X for the packaged module?
SDK 3.5.X update: https://github.com/appcelerator/titanium_mobile/pull/6441 SDK master update: https://github.com/appcelerator/titanium_mobile/pull/6442
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