You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the below plugin for FCM push notification and related to FCM this plugin is not updated or not i'm not sure , but this plugin is not working for FCM , after fallowing some stack-overflow i resolved the issue with below code .
dependencies {
compile 'com.android.support:support-v4:26.0.2'
compile 'com.google.android.gms:play-services-ads:11.4.2'
// GCM to FCM migration below line of code not required
//compile 'com.google.android.gms:play-services-gcm:11.4.2'
compile 'com.localytics.android:library:5.4.0'
compile "com.google.firebase:firebase-messaging:11.4.2"
}
Android gradle file :
apply plugin: 'com.google.gms.google-services' –( This is mandatory line which you suggested )
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
Hi ,
We are using the below plugin for FCM push notification and related to FCM this plugin is not updated or not i'm not sure , but this plugin is not working for FCM , after fallowing some stack-overflow i resolved the issue with below code .
plugin - https://github.com/mallzee/phonegap-localytics-plugin
plugin gradle file :
dependencies {
compile 'com.android.support:support-v4:26.0.2'
compile 'com.google.android.gms:play-services-ads:11.4.2'
// GCM to FCM migration below line of code not required
//compile 'com.google.android.gms:play-services-gcm:11.4.2'
compile 'com.localytics.android:library:5.4.0'
compile "com.google.firebase:firebase-messaging:11.4.2"
}
Android gradle file :
apply plugin: 'com.google.gms.google-services' –( This is mandatory line which you suggested )
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
please add the below line inside the function .
classpath 'com.google.gms:google-services:4.0.2'
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
}
Please let me know the process is correct or not which i fallowed .
The text was updated successfully, but these errors were encountered: