unifiedpush/FCM: also allow FCM for SERVICE_VERSION_UPDATE_REQUIRED
To fix inbuilt FCM on Android 7 Change-Id: Ia2aca76b5718cce3c7828b00a604d58cf9f3676e
This commit is contained in:
parent
1eed611f4e
commit
91cff797f0
|
@ -38,6 +38,6 @@ object FcmHelper {
|
|||
fun isPlayServicesAvailable(context: Context): Boolean {
|
||||
val apiAvailability = GoogleApiAvailability.getInstance()
|
||||
val resultCode = apiAvailability.isGooglePlayServicesAvailable(context)
|
||||
return resultCode == ConnectionResult.SUCCESS
|
||||
return resultCode in listOf(ConnectionResult.SUCCESS, ConnectionResult.SERVICE_VERSION_UPDATE_REQUIRED)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue