Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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, ...

0
votes
0answers
6 views

React Native, Push Notifications and Background Tasks

So I have been using RN for 5 months now and recently found out that RN doesn't have a real way of handling background tasks because as soon as the app is moved to background, js bridge is shut. For ...
0
votes
0answers
5 views

Expo Push Notifications app in foreground

I have an Expo app, and I'm trying to handle push notifications sent while the app is in the foreground. I have a push notification being sent from a Rails server: params = ({ ...
0
votes
1answer
15 views

How to dynamically change content depending on data from Facebook analytics?

Facebook have deprecated their app notifications API so there is no way to push content to a users phone based on segments anymore, correct me if I'm wrong. The problem is that I want to analyse ...
0
votes
0answers
8 views

Cannot read ios message from firebase push notification in ionic app

I'm Just setting up push notifications for my app. They've been working welll on android for months and they display a toast when they come in while the app is open. I've been trying to enable them on ...
0
votes
0answers
6 views

using expo push notification, iOS device cannot receive push

My iPhone cannot receive push notification from my expo app. I checked Device Token must be made. I already checked notification permission. Other Expo Push Test apps also not work My iPhone can ...
1
vote
3answers
39 views

Where is FCM Intent with data delivered, when app is in background?

I've implemented Firebase in my app and I'm sending push with extra data. When my app is in foreground I'm handling data properly and showing my own notification, but I have a problem with fetching ...
0
votes
0answers
7 views

Track push receive with Firebase analytics

We are sending push notification through Firebase to iOS and Android users. Can I track with Firebase analytics the received push on iOS and Android including if the app was not open in the background?...
2
votes
0answers
14 views

Send UWP Raw Notification from backend in C#

i am trapped with a rather simple looking problem. A little background: i am developing an App with Xamarin, a Backend in C# and use Azure as Push Notification Hub. My goal is to send a raw ...
0
votes
2answers
293 views

Cannot send/receive PubNub Push-Notifications to iOS

I'm trying to implement Push-Notifications with this tutorial. Chat with PubNub works perfectly. I can also send and receive Push-Notifications with this script, but only with the development-...
-1
votes
1answer
48 views

Send the push notification FCM (Firebase cloud messagging) to the current user

I have an android application with kotlin and I want to send notifications to only one user when Status data is change. First, I try Topics with postman but that is not what am looking for ! So, am ...
0
votes
0answers
27 views

didReceiveRemoteNotification method is not Calling when Notification is Coming

I am not understanding why my code is not Working. my code is: func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler ...
1
vote
1answer
184 views

ANGULAR Firebase FCM send are success but not visible

I've setup my angular 5 (jhipster) web app to receive FCM message. When i send a FCM message, i got a success in POST man but nothing appear in my browser or receiveMessage() function. Here is my ...
0
votes
0answers
16 views

onNotification() is not fired when app is closed

i'm using https://github.com/zo0r/react-native-push-notification to get push notifications and the onNotification is working as aspected when the app is Active or in the Background i'm receiving the ...
0
votes
1answer
36 views

How to send push notification just only to UID User in Firebase?

I'm just using firebase, now I've managed to create user authentication and have a few push notification questions in the firebase. Before I followed the tutorial here, and it worked I was very happy....
0
votes
1answer
32 views

Xamarin Android use SetSound for Notification Channel to play custom sound on notification

I have I have been wasting at least a day trying to make this work. I am trying to play an mp3 file that i placed in Resources/raw once a notification is received. I do not know exactly how to get the ...
0
votes
1answer
22 views

Push notification from PHP to an android app with FCM

I am a beginner in PHP and I would like to make a program to send a simple notification (a title and a little message) from a localhost (in PHP) to an android app. For this, I use Firebase. For the ...
2
votes
0answers
14 views

Firebase Data messages not delivered to iOS when using new HTTP v1 API

Firebase supports Notification messages and Data messages. Data messages don't trigger visual notification and are handled by the client (iOS App) when the app is in foreground. Communication is then ...
0
votes
0answers
6 views

Wrong extra line breaks in Сhrome web push notifications in Thai language

Did anyone deal with the same problem? I send single-line text, but it comes with extra line-breaks. The problem is reproduced only with 3 conditions: Thai language, chrome 67-68, Windows 7
0
votes
0answers
11 views

React-Native FCM: Unregistrated registration token

I am using Firebase to send push notification into Android and iOS. I am getting token using below method: FCM.getFCMToken().then((token) => { // alert('FCM Token: ' + token); ...
0
votes
0answers
32 views

vivo and oppo device not receiving the push notification

Recently i made a android app and released in Google playstore and i got some complaints like not receiving the pushnotification in my device. After that we found the device OPPO and VIVO not ...
0
votes
0answers
22 views

I am stuck in a chat application using FCM and web-socket

Techs: Laravel + JS + Android + Ratchet + FCM Push NOtification + PWA 1. The first method (API) user get all messages from get API and send the message in post API Problem: the user has to refresh ...
1
vote
4answers
3k views

Service Worker error. Not working on live(https) server

Every thing is working fine at localhost but when i upload same file to live server i got below mentioned error. Service Worker error : DOMException: Failed to register a ServiceWorker: The script ...
0
votes
1answer
37 views

How to replace firebase notification with your own on Android?

My Android application gets firebase notifications. And I need to localize this notifications depends on application language on the client side, not on server side. If application is in foreground ...
6
votes
2answers
3k views

Your Apple Push Services will expire in 30 days

I got the following e-mail today: Dear – –, This certificate will no longer be valid in 30 days. To create a new certificate, visit Certificates, Identifiers & Profiles in your account. ...
1
vote
1answer
27 views

iOS - Do GIFs in rich push notifications play

If a GIF is sent in a rich push notification, does it play in the notification itself or would the notification have to be tapped first?
4
votes
1answer
43 views

React-Native Android FCM: Didn't get a token

I am using react-native-fcm into my React-Native application. I am using below method to get device token for the push. FCM.getFCMToken().then((token) => { alert('FCM Token: ' + token); ...
0
votes
0answers
28 views

PhoneGap plugin push doesn't work with iOS

Looked at other questions, no one seems to have specific problems related to installing the phonegap-push-plugin. I have been trying to sort this one out for a while. I'm only on Windows and have ...
0
votes
1answer
20 views

How to run code when an alarmmanager alarm fires

I'm trying to figure out how to run some code when an alarmmanager alarm fires. I currently can schedule the alarms, and right now I am sending a broadcast when the alarm fires and I have a broadcast ...
0
votes
0answers
5 views

How do I view all pending push notifications with react native on Android?

How do you view all notifications stored currently on an Android device with react native? I can find all pending notifications stored on an iOS device but not Android. On iOS i can use '...
0
votes
0answers
12 views

Sinch Get receiving call in background

When the app is in background/not in memory, and it receives a new call, the method didReceiveIncomingCall, is not executed until I open the app, so for instance if I decline the call in the Callkit ...
-2
votes
0answers
22 views

How can I send notification to application b from application a of the same project?

Hi I'm using Firebase Cloud Message. I created a project and there are 2 applications in it. How can I send a notification when I press a button on application B from application A? Is there a way to ...
0
votes
2answers
32 views

Create a web push notification service like OneSignal

We need to develop something similar to OneSignal (only web, no native apps) for private use. Where can we start? Is there some open source project we can use?
0
votes
0answers
22 views

iOS push notifications enabled but not working

I am trying to set push notifications in my app. I have enabled my APN certificates.. And I have turned push notifications on in Xcode.. I have turned push notifications on in previous xcode ...
1
vote
1answer
38 views

GCM push notification issue in android P (28)

we're using GCM for push notification for our app with target release to 26. Using class GCMJobIntentService extends JobIntentService for push notification services because of target release 26. It's ...
0
votes
0answers
8 views

How to capture background silent Push Notifications on UAPushNotificationDelegate for iOS?

I'm trying to implement silent Push Notifications on an iOS application and I have followed the Urban Airship Getting Started for iOS but there's not a single sample application that portraits how to ...
1
vote
1answer
24 views

Responding to Google Calendar API's push notifications with Google Apps Script

I'd like to use Google Apps Script to update a Google spreadsheet and send emails with the Gmail API whenever changes are made to a range of calendars that I own. Can the Google Calendar push ...
-1
votes
0answers
34 views

App crashed when I click on push notification while app is closed even in not background

In my app push notification is showing and it perfectly works when app is open or in background. Now the issue is when app is closed and when i click on notification app open and suddenly crashed.. ...
7
votes
1answer
2k views

Receive push notifications on one android app from two Firebase projects

I have an Android app, and I want it be able to receive push notifications from two different Firebase projects. I read the blog "Working with multiple Firebase projects in an Android app" https://...
2
votes
2answers
59 views

is it possible to add video in android push notification?

Is ti possible too embedded video into android rich notification as it possible in iOS? I know that the android officially still do not support that, but it may be some tricky way to improvise that? :)...
1
vote
1answer
52 views

Android push notification icon LIght theme issue

I know this question is asked so many time related to Push notification status bar icon, but my problem is a little bit different. I am using FCM push notification, my notification is coming properly....
0
votes
0answers
16 views

How to correctly pass a Model Object to Notification's onReceive()

I've been trying to setup notifictions in my app for a while now. I am using an AlarmManager and a PendingIntent to fire them at a precise moment in time. I'm passing my Model object to the receiver ...
1
vote
2answers
48 views

How to send push notifications without using Firebase console

I have an app that has a messaging feature via Firebase. It works within the app and I have a firebase observer setup to grab new messages in realtime. What I don't know how to do is trigger push ...
-1
votes
0answers
9 views

Angular5: Desktop notifications needs to be shown if the tab/app is not active

I have built an angular5 app and we are showing desktop notifications whenever we get a new message. I am using ng-push to show the notifications. The only problem is I need to show the notification ...
2
votes
1answer
55 views

Flutter IOS : CocoaPods could not find compatible versions for pod “simple_permissions”:

I am new to flutter and developing Permission demo in flutter. I used simple_permission plugin for the same,this plugin works in android but in ios it gives me below error: CocoaPods could not find ...
0
votes
0answers
26 views

Create a timer inside a Push Notification IOS Swift

I know this question was already asked but it was an older question and things may have changed. Basically I want to create a push notification with a timer in it similar to how the clock app on the ...
2
votes
1answer
34 views

IOS - Rich push duplication after being handled by clicking on UNNotificationAction

After the rich push is handled in the background (user clicked on an UNNotificationAction without opening the app - no foreground)), then when you enter the app, there is a duplicate push event ...
0
votes
0answers
15 views

OneSignal iOS - Can't prevent webview

I integrated OneSignal to my iOS-App (WKWebview). But its automatically opening another webview window. I just want to load the given URL into my Webview, not another one. Universal Links/Deep Linking ...
33
votes
6answers
27k views

Generate int unique id as android notification id

When I send multiple push notifications, I need them to be all shown in the notification bar ordered by the time sent desc. I know I should use unique notification - I tried to generate random number ...
0
votes
0answers
24 views

iOS 12 Pending notification request after changing user's settings

Introduction On iOS, when we install application and open it for the first time, it will ask user for notification permission (if application uses notifications). requestAuthorizationWithOptions is ...
1
vote
2answers
64 views

No type or protocol named PKPushRegistryDelegate

I'm adding PushKit notification to my app and have stumbled into the error above. What I have done: Enabled push notification Enabled remote notification in background mode Added linked framework ...