I am facing a weird issue integrating Firebase Cloud Messaging in a library module. I am working on a library project in which I need to handle notifications right coming from the FCM Server from the library itself. I am not aware if it is possible or not.
Steps I followed:
google-services.json
in library module. FirebaseInstanceIdService
.Problem: When I try to send push from Firebase Console, I am not receiving any Notification.
Have anyone faced such issue and could help me with this ?
So, after running a lot through trial and error method, I succeeded in getting Notifications.
Things to be noted:
google-services.json
file in his directory and not in library module directory.apply plugin: 'com.google.gms.google-services'
So, once I made those two changes, I was able to get Notifications.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With