Top "Push-notification" questions

Push notifications are alerts, badges, or sounds which are pushed to a mobile device from a remote server.

UIApplication.registerForRemoteNotifications() must be called from main thread only

Xcode 9 (iOS 11) showing me an error/warning while registering for Push (remote) notification. Here is error message And here is …

ios swift push-notification swift4 unusernotificationcenter
didReceiveRemoteNotification: fetchCompletionHandler: open from icon vs push notification

I'm trying to implement background push notification handling, but I'm having issues with determining whether the user opened the app …

ios ios7 push-notification apple-push-notifications uiapplicationdelegate
Firebase silent apns notification

Is there a way to send a silent APNS using google's firebase? It seems that if the app is in …

push-notification firebase apple-push-notifications firebase-cloud-messaging silentpush
Update badge counter in Swift

With following code I get (2) in the badge icon immediately after app compiling: func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) { …

ios swift parse-platform push-notification badge
Web Push Notification: How to use Web Push PHP Library?

I Want to add Web Notification to my website. I searched on Google and found some tutorials about it. As …

php browser push-notification web-push
Handling Push Notifications when App is Terminated

When my App is not running and receives a Push Notification, if I click on that notification, the App is …

ios objective-c iphone push-notification
How to push notifications with angular.js?

I have been building a simple application to learn angular.js. So far I hooked up all the pieces in …

javascript mongodb angularjs push-notification mean-stack
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 …

ios xcode push-notification unusernotificationcenter remote-notifications
Push Notifications not being received on iOS 10, but working on iOS 9 and before

I have several apps that were written in Swift 2.2, compiled with Xcode 7.3 and is live on the App Store. The …

ios swift push-notification apple-push-notifications xcode8
Silent pushes not delivered to the app on iOS 11

I noticed that on iOS 11 beta 2, the silent notifications are not delivered to the application:didReceiveRemoteNotification:fetchCompletionHandler regardless the state …

ios push-notification ios11