File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -69,19 +69,19 @@ async function checkPlayServicesExample() {
69
69
// SERVICE_MISSING - Google Play services is missing on this device.
70
70
// show something to user
71
71
// and then attempt to install if necessary
72
- return utils .makePlayServicesAvailable ();
72
+ return utils () .makePlayServicesAvailable ();
73
73
case 2 :
74
74
// SERVICE_VERSION_UPDATE_REQUIRED - The installed version of Google Play services is out of date.
75
75
// show something to user
76
76
// and then attempt to update if necessary
77
- return utils .resolutionForPlayServices ();
77
+ return utils () .resolutionForPlayServices ();
78
78
79
79
default :
80
80
// some default dialog / component?
81
81
// use the link below to tailor response to status codes to suit your use case
82
- // https://developers.google.com/android/reference/com/google/android/gms/// common/ConnectionResult#SERVICE_VERSION_UPDATE_REQUIRED
83
- if (isUserResolvableError) return utils .promptForPlayServices ();
84
- if (hasResolution) return utils .resolutionForPlayServices ();
82
+ // https://developers.google.com/android/reference/com/google/android/gms/common/ConnectionResult#SERVICE_VERSION_UPDATE_REQUIRED
83
+ if (isUserResolvableError) return utils () .promptForPlayServices ();
84
+ if (hasResolution) return utils () .resolutionForPlayServices ();
85
85
}
86
86
}
87
87
// There's no way to resolve play services on this device
You can’t perform that action at this time.
0 commit comments