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() {
6969 // SERVICE_MISSING - Google Play services is missing on this device.
7070 // show something to user
7171 // and then attempt to install if necessary
72- return utils .makePlayServicesAvailable ();
72+ return utils () .makePlayServicesAvailable ();
7373 case 2 :
7474 // SERVICE_VERSION_UPDATE_REQUIRED - The installed version of Google Play services is out of date.
7575 // show something to user
7676 // and then attempt to update if necessary
77- return utils .resolutionForPlayServices ();
77+ return utils () .resolutionForPlayServices ();
7878
7979 default :
8080 // some default dialog / component?
8181 // 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 ();
8585 }
8686 }
8787 // There's no way to resolve play services on this device
You can’t perform that action at this time.
0 commit comments