Affects Version/s: Release 6.0.0
Fix Version/s: Release 7.5.0
Sprint:2018 Sprint 12 SDK, 2018 Sprint 13 SDK, 2018 Sprint 14 SDK, 2018 Sprint 15 SDK, 2018 Sprint 16 SDK, 2016 Sprint 17 SDK, 2018 Sprint 18 SDK, 2018 Sprint 19 SDK
The Ti.buildHash property always returns null on Android. This has been happening since Titanium 6.0.0.
(This is not an issue on iOS.)
Steps to reproduce:
- Build and run the below code on Android.
- On app startup, an alert displays the buildHash.
- Note that it displays it as "undefined". (This is the bug.)
Our "android.js" build script expects to receive option.gitHash with a capital 'H' here...
But our "scons-build.js" and "scons-cleanbuild.js" scripts are passing in a lowercase githash.
The buildHash is mostly needed to distinguish between an RC and GA version of Titanium. We log the Titanium version on app startup and this is helpful to better provide tech-support for the community.