adding missing getAndroidPlatform helper