Questions tagged [remote-notifications]

136 questions
1
vote
1 answer

OneSignal (iOS) - didReceiveNotificationRequest not called

I followed OneSignal's set up guide, added an extension all named properly and have this file that they provided: #import #import "NotificationService.h" @interface NotificationService () @property (nonatomic, strong) void…
1
vote
0 answers

iOS 8 currentUserNotificationSettings return incorrect types

I am trying to detect the remote notification settings for the App in iOS 8 In case if app is installed, user disabled notifications, delete app and installed it again, this code return incorrect value: - (BOOL)isRegisteredForRemoteNotification { …
1
vote
1 answer

How to handle remote notification with background mode enabled

I build and app that has Background Modes enabled, and the push notification payload that the app gets has "content-available" key. This setup results in didReceiveRemoteNotification being called EVERY TIME the app gets a push notification, which…
1
vote
1 answer

Using URLSession and background fetch together with remote notifications using firebase

I am trying to implement a basic func here which will be called when my app is backgrounded or suspended. In reality, we aim to send about 5 a day so Apple should not throttle our utilisation. I've put together the following which uses firebase and…
1
vote
0 answers

Swift3 - modify FCM remote notification when IOS App is in background

message = FCM remote push notification I am new in IOS.And I am using Xcode 8, Swift3 as programming language. my question is that when my app is in foreground, I am able to modify my message(like I can substring my message and I can perform…
Arslan Javed
  • 83
  • 11
1
vote
0 answers

Not receiving push notifications sent from Firebase console

My push notifications sent from the Firebase console does not appear.. Yesterday, they appeared when i deleted my app, and freshly installed again - but only 1 time, and then they stopped appearing again. Today they dont appear at all.. I've tried…
1
vote
1 answer

How to programmatically config iOS' remote notification to just vibrating not playing sound or playing sound without vibrating?

How can I programmatically config iOS push notification to: not play sound + not vibrate --> OK (Not set `sound` value when push notification) not play sound + vibrate --> OK (play custom sound (sound with no sound) .i.e: 'sound': 'mute.aiff')) play…
o0omycomputero0o
  • 3,316
  • 4
  • 31
  • 45
1
vote
1 answer

Losing token somehow and notification only goes to phone and not app (post ios10 updates)

I updated my app for ios10, and have the requisite changes in place, forking code between ios10 and below to hit proper method calls. It seems to work properly. I have a specific app sound that tells me the remote push was processed by the app, as…
drew..
  • 3,234
  • 3
  • 16
  • 19
1
vote
1 answer

didReceive UNNotification not getting called

I have this in my AppDelegate: @available(iOS 10.0, *) func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) { print(request.content.body) } I am sending…
Mr Mike
  • 337
  • 3
  • 12
1
vote
0 answers

Restrict notification alerts in iOS

I am receiving remote notifications from Azure Notification hub in my iOS app. Notification are sent with different type like: 1. { "aps": {"message":"You got one new message"} } 2. { "aps": {"geoData":"Dubai, UAE"} } I want to restrict…
1
vote
1 answer

Get FCM remote notification when app is closed completely iOS

I am using FCM to send notifications from my own server to iOS Devices. I get notifications successfully when app is in foreground or minimized. But when I close the app completely , even from background, I don't get any notification. But when I…
1
vote
4 answers

After Receiving Notification how can i can get payload on app icon click?

My push notification works properly in Normal case but i have problem with following case: 1) when my app remove from background and get notification & tap on app icon then i want to push view controller and display payload data in that view…
Maulik shah
  • 1,664
  • 1
  • 19
  • 45
1
vote
0 answers

application:didReceiveRemoteNotication:fetchCompletionHandler not invoked after reboot the phone

When i reboot my phone without opening my app, and send a remote notification with 'content-available' bit, my app is not launched or invoke the delegate. But I can get the notification alert. The app was even launched for scheduled background…
eagleonhill
  • 121
  • 1
  • 6
0
votes
0 answers

Why tap on remote notification misses navigation to desired screen

when i tap on push notification when app is in killed state it don't navigate to desired screen but when it is active state or foreground state it working perfectly. but sometime it also navigate in killed state. need proper solution. thanks.
0
votes
0 answers

How to get Message Delivery Receipts when receiver app is in killed mode using XMPP iOS?

I need help to reach out to this problem in XMPP. Scenario There are two users (User A & User B). A is online and B Killed his application. A send a message to B and A need a message delivery receipt from B but B is not connected with XMPP. So B is…
Parth Patel
  • 915
  • 11
  • 33