Open jevarg opened 6 years ago
I have the same problem.
Same problem here
Same problem after installing cordova-plugin-fcm
I found out that my issue was that I was trying to use cordova-plugin-fcm and cordova-plugin-firebase at the same time.
So how did you end up resolving it, @jeangravier? I'm experiencing the same issue. Thanks.
@ganiru
I also experienced same issue, as jeangravier mentioned, I had cordova-plugin-fcm and cordova-plugin-firebase at the same time.
After remove two plugins, and reinstall cordova-plugin-fcm solved my issue.
ionic cordova plugin remove cordova-plugin-firebase
ionic cordova plugin remove cordova-plugin-fcm
ionic cordova plugin add cordova-plugin-fcm
Thanks, @taegyunum. Unfortunately, I needed both plugins (fcm for notifications, firebase for the database). If it was possible to do Firebase database transactions with fcm, that would've been ideal.
Hi, @ganiru,
I applyed fcm push service using cordova-plugin-firebase. I think you might not need to use both of it.
Using just firebase plugin would be okay.
When you apply FCM through firebase plugin, don't forget to use grantPermission()
in iOS
Hi @taegyunum , can you show me how you applied fcm push using cordova-plugin-firebase. I want to remove the FCM plugin from the project entirely and rely on cordova-plugin-firebase for both database manipulation and push notifications. I can't find any docs on it. Thanks.
Hello ! I added cordova-plugin-fcm to my cordova plugins, then I tried running the application on an iOS device but I got this error: No known class method for selector 'setScreenName:screenClass:' My application is currently using Ionic 4.3