evollu / evollu/react-native-fcm
iOS: How to change badge number when the app is not running or background?
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 661
- PR merge metrics
- No merged PRs in 30d
Description
1. What version of RN and react-native-fcm are you running?
0.53.3/14.1.3
2. What device are you using? (e.g iOS9 emulator, Android 6 device)?
iPhone6(iOS11)
3. Is your app running in foreground, background or not running?
background and not running
-----
I wanna refresh badge number according to the number of notification when the app is not foreground,
by triggering some method when receiving notifications.
I know I can do it by adding `badge` prop in the data sent from the server, but how to do this just in the client? (or is it impossible?)
`FCM.on` fires only when the app is running.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.