Rafael Mendiola
Rafael Mendiola
@mynameiscoffey your solution looks like the correct one.
I'm currently running into this as well. It's not an issue with this package. If you're using the Firebase Console, the icon parameter doesn't seem to work. See this Stack...
Basic FCM notifications (and thus this package) don't support that. If you want that, you need to: - send just `data` notifications through the firebase API. - build your own...
I have this same issue, and it's driving me nuts. This project's documentation isn't helpful. It just says, "it's tricky!" and links to a really old GCM issue: https://github.com/google/gcm/issues/63 Looks...
Make sure you did this part correctly: https://github.com/evollu/react-native-fcm#config-for-notification-and-click_action-in-android. That's something that tripped me up for a bit.
I didn't need to add an AppState listener whatsoever. To summarize, this is how I'm handling notifications in my app, there's 3 scenarios: _App isn't Running:_ - Firebase SDK will...
@kylebebak I'm glad you figured it out. It was really confusing for me as well, and I had to do a lot of trial and error. FCM is confusing, and...
did you run `react-native link` or did you do this setup manually? What does your `settings.gradle` file look like? It should have this in there: ``` include ':react-native-fcm' project(':react-native-fcm').projectDir =...
your `app/build.gradle` file also seems to be missing this line in the dependencies section. ``` compile project(':react-native-fcm') ```