Questions tagged [remote-notifications]
136 questions
27
votes
2 answers
How to enable/disable push notification from the app?
In my app I want to enable/disable push notification from the settings page of my app itself.Can any one suggest me a solution to turn on/off the status of app in notification center from the app ?

Jeff
- 1,405
- 3
- 26
- 46
24
votes
1 answer
Difference behaviour of didReceiveRemoteNotification between APNS production and development environment
I have noticed a different behavior of didReceiveRemoteNotification between APNS production and development environment.
In development mode (build using development provisioning profile) this method is being called when user taps on notification.…

Mayank Jain
- 5,663
- 7
- 32
- 65
23
votes
8 answers
How to clear the remote notification in your app?
Is there a way to clear the remote notification from the notification banner when swiping down from the top of the iPhone screen. I tried setting the badge number to zero:
application.applicationIconBadgeNumber = 0
in delegate…

Tedha
- 507
- 2
- 6
- 14
11
votes
1 answer
iOS / FCM - How to use Image name from Payload to display an Image from XCAsset folder as Notification Attachment?
I am working on Rich Notification for a Weather App which is sent via FCM.
First of all, I would like to inform you that my notifications are sent and received successfully both with APNS and FCM.
I am using Pusher and Postman in order to test…
user7219266
11
votes
3 answers
IOS notification when Application is closed
i have a ios application where to which i send remote notification when sending notification from server i am setting content -available = 1 and sound = ""
When on IOS device i am using…

Santhosh S Kashyap
- 973
- 2
- 13
- 19
6
votes
3 answers
Firebase push notifications callback doesn't work when app is terminated
So I updated the firebase_messaging and I had to change my code because FirebaseMessagin.configure() is deprecated and now when I receive the notification and click on the notification it doesn't open another screen.
This is how I implemented the…

t3nsa
- 680
- 6
- 21
6
votes
2 answers
Accessing App code from Notification Service Extension
Notification Service Extension modifies the content of a remote notification before it's delivered to the user. For example if a remote notification contains an image URL, Notification Service Extension can be used to fetch the image and show it in…

ramazan polat
- 7,111
- 1
- 48
- 76
6
votes
3 answers
Push notification not showing in Android foreground
I've used react-native-fcm for remote notification in android and iPhone.
react-native-fcm
In Android foreground I'm not be able to getting remote notification in notification bar.
In background mode I'm able to getting notification successfully but…

Hardik Virani
- 1,687
- 7
- 23
- 36
6
votes
1 answer
Difference Between iOS Push Notifications and Remote Notifications?
In Xcode under app capabilities there is an option to turn on Push Notifications. Under Background Modes there is also an option to turn on Remote Notifications. What is the difference? Pros/Cons?
Do I still set up a push certificate for remote…

dmonaldo
- 189
- 2
- 13
6
votes
2 answers
How to enable/disable push notification from my app
I'm working on App that have push notification property. And I should enable/disable the push notification permission within my app without go to iPhone settings.
Is there a way to implement that?
I searched a lot, but I didn't find any proper way…

Rawan
- 1,589
- 4
- 23
- 47
5
votes
1 answer
Should I update my app upon receiving payload? Or I should always update it by allowing it to download for itself?
When your iPhone receives a WhatsApp/Telegram push notification e.g.
wife:
"buy pizza"
Question1: Is it that the app has to download/receive that itself. That is the banner that pops up on the phone has to download for itself + my Whatsapp/Telegram…

mfaani
- 33,269
- 19
- 164
- 293
5
votes
1 answer
Fail to register for remote notifications
After updating Xcode version to 8.0 I'm getting this error. When trying to register for remote notifications I can see in my logs like this
Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for…

Himanth
- 2,381
- 3
- 28
- 41
4
votes
2 answers
iOS 13 crash when receiving push notification?
We are experiencing a lot of the following crashes on iOS 13:
Crashed: com.twitter.crashlytics.ios.exception
0 MyApp 0x1029626ac CLSProcessRecordAllThreads + 376 (CLSProcess.c:376)
1 MyApp …

Renato Stauffer
- 738
- 2
- 14
- 30
4
votes
6 answers
didReceiveRemoteNotification function doesn't called with FCM notification server
I'm using FCM server for remote notifications, it worked perfectly with sending and receiving notifications.
My problem is when the device is in the background, this function func application(_ application: UIApplication,…

Noura Aziz
- 57
- 1
- 7
4
votes
0 answers
iOS Grouping Firebase Remote Push Notification
We are using Firebase for sending remote push notifications, we are in need to grouping received notification like WhatsApp (Ex: 25 new messages received). I have tried it by adding APNs in JSON, but it's not working. Here is my tried code:
{
"to"…

Kavin Kumar Arumugam
- 1,792
- 3
- 28
- 47