Questions tagged [remote-notifications]

136 questions
0
votes
0 answers

How to get unique DeviceID for backed swift

This is hard question. ) Every time when we installing app, we get DeviceID for backend, they send to us Pushes with this information. So we using var deviceId = UIDevice.current.identifierForVendor?.uuidString When user install our app on…
Sergey Udalov
  • 75
  • 1
  • 7
0
votes
1 answer

Attempting to run a function from inside the didReceive response in swift from a remote notification

So I have a setup where I am trying to learn how to do a basic chat app with firebase and swift. I have the notification categories all setup, I can get the notifications, and I can click on the actions I have setup. I started upgrading it to allow…
0
votes
1 answer

For iOS 12 or higher display notification (sent via APNS)

Register for remote notifications For iOS 12 or higher display notification (sent via APNS) I just need to add the below code, right? let authOptions: UNAuthorizationOptions = [.alert, .badge, .sound] …
0
votes
2 answers

How to deal with old iOS notification tokens remaining valid after new token and vendorId are generated?

I am using Azure Notification Hub to send remote notifications, at the moment only to iOS. I initially realised that my device was receiving 5 notifications of the same notification event. I checked and debugged my code and it indeed correctly…
0
votes
0 answers

Why remote notification doesn't work with VOIP notification for Twilio Notify service in iOS application?

I've successfully implemented Twilio Notify API in the iOS application. I need to get a remote notification for call status callback and VOIP notification for the incoming call indication in a single application. But somehow all the notifications…
Jayeshkumar Sojitra
  • 2,501
  • 4
  • 31
  • 44
0
votes
1 answer

Can I use Remote Notification for messaging app to wake up my application since I can not use push kit

I have a messaging app, in the past I was using push-kit to wake up my app in order to download message in background or when app killed. As Pushkit I can not use any more, so I must use remote notification, but if I add in the payload of remote…
0
votes
0 answers

get List of All Push Notification While App is Closed iOS

I have this requirement where I need to store (Save some information of Notification in Plist file) from Remote Notifications even if my app is closed. I have done some research, I found some links which say I need to use PushKit, but is used only…
0
votes
1 answer

Perform segue after notification access has been granted

I would like to know how to perform a modal segue after the remote notification access has been granted from the dialog box. I have set up my remote notification in the app delegate. func registerANSForApplication(_ application:…
0
votes
1 answer

executing code in response to an iOS notification

I need to execute code when my iOS app receives a notification, without involving any user interaction. if the notification is a silent (i.e. non alert) notification DidReceiveRemoteNotification() does fire in both background and foreground…
MHugh
  • 455
  • 1
  • 7
  • 20
0
votes
0 answers

Remote notification not always called didReceiveRemoteNotification delegate method

I am using Xcode 11.2.1 and iOS 13.2.2. I use the method bellow to handle remote notification and it works correctly, but the problem happen when I switch Off the device and switch on again... then insert the pin without opening my app, when I send…
0
votes
0 answers

IOS - Updating AppBadge Count using local notification

I have a use case where I want to set timely local notifications, which on delivery would fetch unread message count from server through API call and will update the App icon badge based on that number. So is this use case served by local…
0
votes
1 answer

Navigation bar missing after tapping on remote notification

I have a side menu in app so on clicking the notification I navigate to view controller but cannot navigate to other VC's as it's not showing the navigation bar. I've done this in my App Delegate and also have a navigation controller in my…
0
votes
0 answers

Can an iOS device in kiosk mode receive remote notification

Hello Stackoverflowers! Before I embark on a small change to my app, I would like to know if an iOS device in kiosk mode can receive a remote notification (of the same app that's in the kiosk mode)? Thanks! Tomiris
user10482176
0
votes
1 answer

Swift - When receiving a silent notification decide whether to show an alert or not

I need your help, I wanted to ask you 3 simple questions, where one goes in consequence of the other. Basically I want to limit to users the number of notifications they receive. Since it is a group chat and they are constantly receiving push. The…
0
votes
0 answers

Custom Push Notification Design

I have implemented Remote push notification using firebase. Notification comes successfully. But it has the same design pattern. Is it possible to change the design of those notification and if Yes then how?? Any reading links and answers will help.
RateM
  • 241
  • 1
  • 4
  • 15