Can't receive notification on background and some other problems [IOS]
See original GitHub issueHey,
İ did everything but i still can’t receive any notifications when my app is on background. Here is an example request:
{
"to": "XXXX",
"content_available": true,
"priority": "high",
"notification": {
"title": "Please",
"body": "Work"
}
}
Other than that, i can receive notifications on my ios 9 iphone on foreground, but i don’t receive anything on my ios 10 iphone.
I found something like this: https://firebase.google.com/docs/cloud-messaging/ios/receive
And there is one more thing i didn’t understand, even when i don’t allow notifications, or disable from settings, getFCMToken() function still returns a token, and i can send notifications.
So i am not sure if this library or FCM is stable, or is it a waste of time trying to adapt it atm.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:45 (17 by maintainers)
Top Results From Across the Web
Notifications not working in iOS 16? 9 Ways to fix it! - iGeeksBlog
To fix Notifications not working on iPhone running iOS 16, 1. Turn off Focus on iPhone, 2. Add exceptions to Focus, 3.
Read more >Top 8 Ways to Fix Notifications Not Working on iPhone
Top 8 Ways to Fix Notifications Not Working on iPhone · 1. Restart iPhone · 2. Disable Focus Mode · 3. Disable Scheduled...
Read more >How To Fix Notifications Not Working On iPhone In iOS 15
Open Settings and browse for Notifications -> Scheduled Summary. Disable the Notifications Summary or remove from the summary apps that you want ...
Read more >10 Steps to Fix iPhone Email Notifications Not Working in the ...
Step 6. Let the Mail App Refresh in the Background · Go to Settings > General > Background App Refresh. · Tap Background...
Read more >How to fix notifications that are not working on iPhone after ...
First solution: Quit all apps running in the background then reboot your iPhone. · Press and hold the Power/Side button and either of...
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 Free
Top 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
@jnrepo Enable
Push Notifications
inCapabilities
and @evollu Please add enablePush Notifications
inCapabilities
tab in Xcode project. There seems to be a lot of configuration to get push notifications working but we tend to forget the most basic things. 😃I am using the simulator, it appears you can’t do remote push notifications on the simulator? http://stackoverflow.com/questions/21741259/push-notifications-in-mavericks-ios-simulator