react-native-fcm: I Don't receive push notification when user kill app in "react-native-fcm": "^10.0.1", who can't hepl me (app in background and froground is working ).
there is a known issue with Firebase SDK with iOS 11
https://github.com/firebase/quickstart-ios/issues/327#issuecomment-331782299
fix is pod 'FirebaseInstanceID', "2.0.0"
Before openning an issue
- Reproduce it with the example project in this repo.
- If you can’t receive iOS notification, make sure you can receive notification using quickstart-ios project provided by Firebase team
When openning an issue, please include following information for better support
- What version of RN and react-native-fcm are you running?
- What device are you using? (e.g iOS9 emulator, Android 6 device)?
- Is your app running in foreground, background or not running?
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 33 (14 by maintainers)
please read and answer these questions when you open issues
Before openning an issue
Reproduce it with the example project in this repo. If you can’t receive iOS notification, make sure you can receive notification using quickstart-ios project provided by Firebase team When openning an issue, please include following information for better support
What version of RN and react-native-fcm are you running? What device are you using? (e.g iOS9 emulator, Android 6 device)? Is your app running in foreground, background or not running?
try add
content_available: true@sfm2222try combine this with @ecarrera 's answer