0

I'm integrating react native app and firebase to push notification. I'm using react-native-firebase at https://rnfirebase.io/ It's working fine on iOs 11 but It doesn't work on iOs 10 when app is closed/killed (only work once app is background/foreground) Do you guys have any idea/solution for this one ???

Shine
  • 297
  • 3
  • 8

1 Answers1

0

Seems it's a bug as you can see in this issue!

Also as docs says:

rnfirebase-docs-notification

MohamadKh75
  • 2,582
  • 5
  • 28
  • 54
  • Thanks for feeback. But i don't think so.. Docs says this: - App in foreground: onNotification triggered - App in background: onNotificationDisplayed triggered if content_available set to true onNotificationOpened triggered if the notification is tapped - App closed: getInitialNotification is populated if the notification is tapped and opens the app – Shine Jun 08 '18 at 02:58
  • @Shine you asked for killed-app scenario, which is mentioned `Received when app is next time opened` – MohamadKh75 Jun 08 '18 at 03:13
  • @Khajavi: it's Data-only messages type, we are not using it. We are using Notification Message from Firebase -> please see docs here: https://rnfirebase.io/docs/v4.2.x/notifications/introduction – Shine Jun 08 '18 at 03:31