Questions tagged [push-notification]

Push notifications are alerts, badges, or sounds which are pushed to a mobile device from a remote server. Apple delivers push notifications via the Apple Push Notification Service (APNS). Android devices receive push notifications via the Google Cloud Messaging (GCM) service. In the past, Android devices used the Cloud to Device Messaging (C2DM) framework. Windows Phone apps receive push notifications either via MPNS or the newer WNS.

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

  • In , push notifications are delivered via Apple's Apple Push Notification Service (), triggered by a message from developers' servers to Apple's APN servers, which in turn push the message to iOS devices. Apple first released push notifications in iOS 3.0. Push notifications should not be confused with local notifications, which are a way for an app to post a notification to a device locally, with no interaction with push notification servers. New in , you can add flags to push notifications to make them silent or to trigger a background fetch.

  • In , push notifications are delivered via Firebase Cloud Messaging (). (Previously called Google Cloud Messaging ()). This replaces Google's Android Cloud to Device Messaging Framework ().

  • Push Notifications for Windows Store apps are delivered via the Windows Push Notification Service (), which enables third-party developers to send toast, tile, badge, and raw updates from their own cloud service.

  • Push Notifications for Amazon devices running (Kindle tablets, Fire TV and Fire TV Stick) are delivered via the Amazon Device Messaging () service.

References:

19151 questions
5
votes
1 answer

Group fcm notifications like whatsapp but allowing multiple group notifications

I am not sure whether this is entirely possible but I'll state my requirement. If it is possible then kindly help me figure out how to do it. Let's say I have a gallery kind of an android app. When the user likes or comments on a photo in the…
5
votes
0 answers

How to implement firefox Web-extensions Push notifications

Forgive me if you think its an obvious one, but I didn't find any relevant(non-obsolete) material on the same. So, I have a chrome extension out there (Zoho Mail Tracker) which as the name suggests is an email tracker for the Zoho mail client. It…
5
votes
2 answers

Push Notifications not working in Testflight

Similar to this post, push notifications works on development, but does not work through testflight. Here are screenshots of my certs: Certificate of type iOS Distribution App ID. Named (not wildcard). Push notifications enabled for both…
cwRichardKim
  • 1,030
  • 1
  • 9
  • 15
5
votes
5 answers

How to open a specific activity on push notification tapped?

Okay so what I am doing right now is getting a push notification through FCM that's been going well. Now I'm able to change the activity when application is on foreground, but how do I change it when I tap the notification in notification panel?…
5
votes
1 answer

Updating a delivered notifications ios 10

I am trying to update an already delivered notification on iOS 10 which is a new feature. I am using an api call to send a push notification through firebase. If a comes online notification should be "a is online" If b also comes online…
5
votes
1 answer

intent to specific activity when push notification clicked in.

Not opening specific activity on notification click when the app is in background/not running The notification-click starts specified activity only when the app is opened up and the notification-click is performed. If the app is in background/not…
5
votes
1 answer

Setting priority Firebase Messaging in Cloud Function for Firebase

I'm using Firebase Messaging to send notifications to users of my iPhone app. In order to not expose the app's messaging server key on the client side I'm using Cloud Function for Firebase to send the notifications to specific topics. Before this I…
5
votes
0 answers

Handling many users on the same device

I am using OneSignal to manage push notifications. Everything works great, but how do you deal with multiple users on the same device? For example, player A logs into my app. OneSignal only sees them by their player id which is associated with the…
vikzilla
  • 3,998
  • 6
  • 36
  • 57
5
votes
3 answers

Rich Push Notification - Video won't play in Notification Content Extension

I am working on rich notification's Notification Content Extension and have able to load images and gif successfully like following screenshot: Now i am trying to play video and i am doing following code for playing it. -…
5
votes
4 answers

How to send message to multiple android devices using FCM in Node js?

I tried sending message to single device i.e. to single Registration id and it worked fine but when tried to add multiple Registration Ids it gives 'InvalidServerResponse' error. e.g. Works for regTokens = 'regId1'; But doesn't work for regTokens =…
5
votes
1 answer

How to handle Android FCM Messages when application is in Background with data payload?

Android push notification using FCM is unable to handle when application in background. Default message is displayed in notification tray. Can Anyone help me how to handle the messages when application in background. @Override public void…
5
votes
2 answers

FCM for android: popup system notification when app is in background

Is it possible to show popup for firebase system notification (when app is in background) on the top of screen? I use setPriority(Notification.PRIORITY_MAX) for this to show notifications from onMessageReceived in foreground. I use both notification…
prcu
  • 903
  • 1
  • 10
  • 23
5
votes
0 answers

Get body and title of regular notification in Activity on Android

Send a regular notification (has "notification" in JSON body, not a custom data notification) Have app in background so onMessageReceived() implementation in app is not triggered and system takes care of displaying the notification. When…
cen
  • 2,873
  • 3
  • 31
  • 56
5
votes
1 answer

How to send push notification from Firebase using google apps script?

I want to write a little script that tells Firebase to push notification if a certain condition is met. How to send push notification from Firebase using google apps script?
5
votes
2 answers

Firebase push notifications on Android with multiple modules

I'm currently trying to implement push notifications in our application. So we have three modules. App 1 Logic App 2 I gave them obviously names. App 1 and 2 have a dependency on the logic module. This module contains ALL the logic for both apps.…
Jordi
  • 53
  • 1
  • 4
1 2 3
99
100