Questions tagged [remote-notifications]
136 questions
0
votes
1 answer
How to play a customed audio in iOS 10 while the app is in the background mode
I am developing an iOS app which needs to play a customed sound to notify the user that he has received some money when the remote notification is received, I have seen some apps done this, but I don't know how to achieve this function.
The app…

Jeremy
- 91
- 3
- 12
0
votes
1 answer
didReceiveRemoteNotification is not receiving notifications through FCM
I've implemented Firebase Cloud Messaging as per instructions given on their website. So when I generate notification from here:
And in AppDelegate.swift I've added didReceiveRemoteNotification function as:
func application(_ application:…

Chaudhry Talha
- 7,231
- 11
- 67
- 116
0
votes
1 answer
Remote Notification Handling on Not Running State
I got a question that i can't figure out a long time. I know that i can't sync my application in "not-running" state. But let me show a simple scenario:
I killed WhatsApp. It's not running.
I send a message from another device.
Remote notification…

Daedelus
- 266
- 5
- 14
0
votes
1 answer
Why it works when I use UIApplicationLaunchOptionsLocalNotificationKey to receive remote notifications?
When I tried to get remote notifications, I made a mistake that using UIApplicationLaunchOptionsLocalNotificationKey as the LaunchingOptions dictionary's key to get information. But it all works well on my real iPhone(10.2).
I can tap the remote…

H.Shane
- 11
- 4
0
votes
2 answers
Handle the remote notification for chat application in iOS
BACKGROUND
I am buidling a chat messaging applicaiton and I faced a problem handling push notificaton when user receiving message from the sender.
WHAT I WANT TO ACHIEVE
Like Whatsapp does, after I received the push notification and I turned on the…

Jack Kyeteo
- 109
- 1
- 7
0
votes
2 answers
remote notification on ios
I'm trying to send a remote notification from own php server to app.
Here's the code in AppDelefate.m:
#import "AppDelegate.h"
#import
@interface AppDelegate ()
@end
@implementation AppDelegate
#define…

user3195152
- 23
- 1
- 5
0
votes
1 answer
Turn on/off vibration and sound while receiving remote notification ios swift
I have settings in my app, in that I have a toggle button for turning On and Off the sound and vibration as well, while receiving remote notification. Below is my code for registering remote notification in AppDelegate
let notificationTypes:…

Austin Michael
- 460
- 4
- 18
0
votes
0 answers
iOS Notification creating an Alert
I'm creating an iOS-Native app. I'm using XCode 8, testing on iOS10, using swift 3.
I'm dealing with APNS and sending Remote notifications (through OneSignal).
The notifications work flawlessly outside my app (when it is in background). However,…

Flasgod
- 101
- 2
0
votes
2 answers
How to determine when to update deviceToken for push notifications / how to get it?
I've had various struggles with push notifications over the course of my app that seem to be fixed by uninstalling. I believe I've narrowed it down to expired deviceTokens.
Reading Apple's Push notification documentation, I found this:
Registration…

Jake T.
- 4,308
- 2
- 20
- 48
0
votes
2 answers
Launching an Android app in background when it's not running
This question is along the lines of the one I asked for iOS, and not related to this one.
I want to know what are the mechanisms that one can use to launch an app on the Android device that has been force quit, or which hasn't been started since the…

Gregory Magarshak
- 1,883
- 2
- 25
- 35
0
votes
1 answer
Launching iOS app when it's not running via silent notifications
According to Apple's official documentation, if one sends a "silent notification", i.e. a notification with content-available: 1 we have
For background download apps: A push notification arrives for an app
and the payload of the notification…

Gregory Magarshak
- 1,883
- 2
- 25
- 35
0
votes
1 answer
IOS 9 not asking permission for remote notifications
I have a problem when trying to ask permission for remote notifications.
It works flawlessly on iOS 10 but when I try to do it on an iOS 9 device it doesn't show any alert and the UIApplication delegate method…

Pointblaster
- 504
- 3
- 18
0
votes
0 answers
Send notification to App when Application is quit
I want to show a notification (local OR remote) when Application is terminated or killed from background.
There is an App on AppStore which does the same thing. But, I don't know I can provide link to that App here or not.
I tried creating a local…

viral
- 4,168
- 5
- 43
- 68
0
votes
0 answers
Open specific ViewController but with the correct 'view-path' when a notification comes in
So i know how to open a specific ViewController (aktuellesTVC) when a remote push notification comes in. But it just opens that view without the 'path'.
With the path, i mean all the views that i would open first to come to that view without a…

Bengger Applications
- 57
- 9
0
votes
1 answer
Facing trouble with viewing push notification in iOS 10 Swift 3
My app has 2 types of initial state.
Login
After Login which contains Dashboard & other stuff.
My app working fine when switching view from Appdelegate like that
func application(_ application: UIApplication, didFinishLaunchingWithOptions…

Riajur Rahman
- 1,976
- 19
- 28