Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14247] Android: Feature Request to expose GooglePlayServicesUtil getErrorDialog

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterPhilippe Wueger
AssigneeUnknown
Created2013-06-14T08:21:21.000+0000
Updated2018-02-28T20:03:56.000+0000

Description

In order to be able to follow Googles recommendation on how to handle Google Play services, the getErrorDialog method of GooglePlayServicesUtil should be exposed in addition to isGooglePlayServicesAvailable() (which is covered in TIMOB-14075). Googles recommendation is as follows (see http://developer.android.com/google/play-services/setup.html): {quote}

Query for the status of Google Play services on the device with the isGooglePlayServicesAvailable() method, which returns a result code.

If the result code is SUCCESS, then the Google Play services APK is up-to-date, and you can proceed as normal.

If the result code is SERVICE_MISSING, SERVICE_VERSION_UPDATE_REQUIRED, or SERVICE_DISABLED, then call getErrorDialog() to display an error message to the user, which allows the user to download the APK from the Google Play Store or enable it in the device's system settings.

{quote} Without this - in my understanding - it will not be possible to guide the user to the correct location within the Google Play app to install or upgrade the Google Play services APK.

Comments

  1. Ygor Lemos 2013-10-01

    Duplicate of TIMOB-15356

JSON Source