bump firebase-messaging libray version

This commit is contained in:
Daniel Gultsch 2021-05-04 09:47:09 +02:00
parent a5ad2b7fc6
commit 905489e237
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ configurations {
dependencies {
implementation 'androidx.viewpager:viewpager:1.0.0'
playstoreImplementation('com.google.firebase:firebase-messaging:21.0.1') {
playstoreImplementation('com.google.firebase:firebase-messaging:21.1.0') {
exclude group: 'com.google.firebase', module: 'firebase-core'
exclude group: 'com.google.firebase', module: 'firebase-analytics'
exclude group: 'com.google.firebase', module: 'firebase-measurement-connector'

View File

@ -3,7 +3,7 @@ package eu.siacs.conversations.services;
import android.util.Log;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GoogleApiAvailability;
import com.google.android.gms.common.GoogleApiAvailabilityLight;
import com.google.firebase.messaging.FirebaseMessaging;
import eu.siacs.conversations.Config;
@ -107,7 +107,7 @@ public class PushManagementService {
}
private boolean playServicesAvailable() {
return GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(mXmppConnectionService) == ConnectionResult.SUCCESS;
return GoogleApiAvailabilityLight.getInstance().isGooglePlayServicesAvailable(mXmppConnectionService) == ConnectionResult.SUCCESS;
}
public boolean isStub() {