Open ahmedfarag2010 opened 4 years ago
I'm also getting this error. Did you get it resolved?
+1
@brenod it worked for me! Thanks
@brenod :sir but i am not using cordova-plugin-firebase i am using cordova-plugin-fcm-with-dependecy-updated telll me what i do know?
@kapilSoni101 were you using cordova-plugin-firebase before? There could be some errors with compatibility when migrating from one plugin to another. You could try to reinstall everything:
ionic cordova platform rm android
cordova plugin rm cordova-plugin-firebase
cordova plugin rm cordova-plugin-fcm-with-dependecy-updated
ionic cordova platform add android@latest
ionic cordova plugin add cordova-plugin-fcm-with-dependecy-updated
ionic cordova build android
if nothing works, maybe this can help
@brenod : thanks for ur response sir. 1st solution not worked for me but 2nd worked for me and i got another error generated
FirebaseInstanceId.getInstance().getInstanceId().addOnCompleteListener(new OnCompleteListener
() {
symbol: class InstanceIdResult
location: class FCMPlugin
I've just installed the plugin and added android platform then i tried [cordova run android] and got this error.