Properties Ti.Platform.id and Ti.Platform.version return null if analytics have been disabled in the "tiapp.xml" file. They return the correct values if analytics is enabled.
This bug was introduced as of 7.5.0.RC.
Steps to reproduce:
- Set up a Classic app with the "app.js" code shown below.
- In the "tiapp.xml" file, disabled analytics as shown below.
- Build and run on an Android device.
- In the log, notice that "id" and "version" return null. (This is the bug.)
I suspect APIs Ti.Geolocation.forwardGeocoder() and Ti.Geolocation.reverseGeocoder() might also fail if analytics is disabled.