[TIMOB-8561] Android: add permissions for map when map module is used
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-07-09T03:41:00.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Release 2.1.0, Sprint 2012-12 Core |
Components | Android |
Labels | core, module_map, qe-testadded |
Reporter | Opie Cyrus |
Assignee | Bill Dawson |
Created | 2012-04-05T20:01:58.000+0000 |
Updated | 2014-09-09T21:10:12.000+0000 |
Description
When Ti.Map module is used, permissions are not automatically inserted into the generated manifest.
Fail Case / Test Case
* Create a new android app in Titanium Studio. * Add this to the tiapp.xml:* Make this the app.js:
* Run the app _on device_ so that location services will actually work. But don't package for production, unless you want to change that tiapp.xml entry above to point to your own Google Maps API key. * In the fail case, when the app opens and the map appears, you won't see your location marked anywhere on the world map, although
userLocation: true
was set as a creation argument for the View. Also in logcat you'll see these warnings:* When testing the fix, you *should* see your location on the world map, and you should *not* see those warnings in logcat.
Pull request ready https://github.com/appcelerator/titanium_mobile/pull/2370
Closing as fixed. Verified with: Titanium Studio, build: 2.1.0.201206221045 Titanium SDK: 2.1.0.v20120622174154 Device: Samsung Galaxy tab (3.2)
Reopening to update labels