Don't receive push notification when user kill app (Android & IOS)
See original GitHub issueHi @evollu, My app can receive push notifcation on fourground and background. But app don’t receive push notification when user kill app. Can you help me?
"react-native-fcm": "^9.1.0"
"react": "16.0.0-alpha.12"
"react-native": "^0.47.2",
Environment:
OS: macOS Sierra 10.12.5
Node: 8.1.2
Yarn: 0.24.6
npm: 5.3.0
Watchman: 4.7.0
Xcode: Xcode 8.3.3 Build version 8E3004b
Android Studio: 2.3 AI-162.4069837
Issue Analytics
- State:
- Created 6 years ago
- Comments:22 (11 by maintainers)
Top Results From Across the Web
I Don't receive push notification when user kill app in "react ...
I'm receiving notification on ios. I'm performing some actions in FCM.on(FCMEvent.Notification, notif => { method. this.notificationListener = FCM.on( ...
Read more >I don't want to receive notifications when I kill the application in ...
i I have a server that sends notifications with firebase to ios, I can receive notifications in the foreground and in the background,...
Read more >iOS doesn't receive Push notification when the app is being ...
If the app is being forced quit or not in memory then your app will not receive silent notifications(i.e. Content-available set to 1)....
Read more >Notifications Not Shown - Mobile Push
When an app is in a Force Stopped / Force Killed state most events including FCM messages for push notifications will not be...
Read more >Notifications Overview | Android Developers
Users might see notification actions on the device's lock screen. If a given notification action causes an app to launch an activity or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any updates on how to take auto-start permission for phones like xiaomi, asus, etc. in react native ? Or How to list your app in white listed apps?
checked some Chinese forums and looks like it is by design by like xiaomi, asus, oppo, Flyme etc for “better bootup speed and battery life”. They provides their own whitelist activities. more details might be found here https://github.com/ttdevs/KillMe
One simple solution might be adding a Toast to ask users to enable auto start themselves.