[TIMOB-5438] Android: Add compiler warning when using maps with Non-Google APIs SDK
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-19T01:16:34.000+0000 |
Affected Version/s | Release 1.7.2 |
Fix Version/s | 2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0 |
Components | Android, Tooling |
Labels | androidbuild, ay-verified, module_android |
Reporter | Kevin Whinnery |
Assignee | Ingo Muschenetz |
Created | 2011-10-05T07:26:32.000+0000 |
Updated | 2013-12-06T17:34:07.000+0000 |
Description
Currently, we don't provide a clear error message if the developer attempts to use the Google Maps APIs in their Titanium application with a "vanilla" Android SDK version. It would be good to put in some kind of compiler warning to let the developer know that they are trying to run a Maps-enabled application on an Android flavor that does not support it.
PR: https://github.com/appcelerator/titanium_mobile/pull/4781
Verified that we get a warning if a non google api sdk is used to build a map app. Environment: Appcel Studio : 3.2.0.201312042306 Ti SDK : 3.2.0.v20131204220843 Mac OSX : 10.8.5 Alloy : 1.3.0-beta CLI - 3.2.0-beta Non google API emulator running android 4.3