Questions tagged [push-notification]

0

votes
1

answer
130

Views

Android Push notifications not working when app is closed

I'm using OkSse to subscribe to my Server Sent Events. Whenever a new message is sent by the server, a notification should appear whether the app is in foreground,minimized or fully closed. The notifications work as expected when minimized or in foreground but when fully closed, this only works on s...
esteban rincon
1

votes
1

answer
51

Views

How we can implement a “Bell Notification” inside asp.net mvc-6 core

I am working on an asp.net core web application, and our system has a lot of functionality to assign items to registered users where i want to notify the users about these items, by implementing a Bell-like notification (which is been used by a lot of social media site), as follow:- now at this stag...
test test
0

votes
0

answer
6

Views

Upgrading UrbanAirship Library 8.x to 9.0.0

Push notifications are not working correctly for me because I am using an old Urban Airship (now re-branded simply as Airship) SDK. I am using Version 8.3 and I need to upgrade to the latest Version 9.7.1. I am reading https://github.com/urbanairship/android-library/blob/master/documentation/migrati...
Jaime Montoya
0

votes
1

answer
24

Views

How to send push notification to android devices even when app is killed?

I am able to send notification when app is in foreground and background. But cant manage to send it when app is killed i.e app not running in background. Other app in my mobile are able to send me notification even when they are running in background. I am using oreo version. I have tried following...
kamalesh kunwar
1

votes
0

answer
10

Views

API to list activity log in Urban Airship

I'm using PHP with CURL to send push notification by using API of Urban Airship to android and ios devices for more than hundred apps. Now I want to list activity logs like Airship panel but could not find any suitable API like we use for push '/api/push' and for list schedule 'api/schedules' so cou...
Hariom
1

votes
2

answer
545

Views

Firebase Notifications: Easiest way to implement opt-out

Firebase notifications are convenient because they require virtually zero code to implement in an Android app and can be sent from the web console. However, what's the best way to implement an opt-out feature, so that users can choose to not receive push notifications?
Kirill Rakhman
1

votes
3

answer
2k

Views

Google calendar api Push notification: 401 - Unauthorized WebHook callback channel

Any solution for the issue. This seems to be not working { 'error': { 'errors': [ { 'domain': 'global', 'reason': 'push.webhookUrlUnauthorized', 'message': 'Unauthorized WebHook callback channel: https://xxxxx' } ], 'code': 401, 'message': 'Unauthorized WebHook callback channel: https://xxxxx' } } A...
Naveen Koti
1

votes
2

answer
666

Views

Are push notifications delivered to android phones after its disabled in settings?

In Android, if we disable app notifications using the OS settings, will fcm/gcm still deliver the notification to the device? If it is delivered to the device will the notification be passed onto the app? or does the OS block it? Is the device_token invalidated? I am assuming that when we disable no...
aswani521
1

votes
1

answer
4.7k

Views

Push notification issue in Oreo 8.0

After updating the app to 8.1 the notification was not shown and I fixed it. Now, pending intent is not working as expected. After receiving the notification, I am not able to navigate to the app if it is in background and if it is closed it is not launching. private void sendNotify(String messageBo...
Abish R
1

votes
2

answer
454

Views

iOS - What happens I lost my APNs Key file?

I just created the APNs Key file from Apple Developer website. It was saying 'Don't lost this key'. I already have a backup but what happens if I lost it? It is also saying I just need one APNs Key for all apps. Can I create more than one APNs Key or should I go with just one? If I lost this am I go...
onurgenes
1

votes
0

answer
360

Views

FCM Push notification not receiving in Android customized OS

Can anybody please help me to solve this issue... I have implemented the FCM functionality in my project. Its normally working in all default android OS versions. phones like moto, nexus, redmi, etc., But I have installed the same apk in oppo, vivo, one plus3, honor, etc., (customized OS). Which I...
syedjibharat
1

votes
0

answer
66

Views

Not receiving push notifications on LTE networ, iOS swift

I have the problem with apple push notification I have iPhone 7, iOS 11.2.1 when my mobile data on I couldn't receive a push notification on LTE network some time I get notification sometime not. when I switch to my wifi network or other networks I received all notification on time. I have updated m...
Tejash Joshi
1

votes
1

answer
42

Views

ParseServer remove Installations with “Unregistered” status

When I use Parse.Push.send I have some of my installations which return 'status 410, unregistered device'. How can I automatically remove them from my installation schema ?
Charly berthet
1

votes
1

answer
486

Views

Statusbar Notification icon not shows correctly always shows white circle

I am using firebase for notification and sending notification using REST Api everything works fine but there is one problem notification icon of statusbar not showing properly always it shows white circle instead of my small icon set for notification. I search a lot eveyone suggest that we can not u...
Atul Chaudhary
1

votes
1

answer
758

Views

fcm subscribe to topic

I'm trying to use FCM to send notifications to all topic subscribers. First of all, I need to subscribe the user to a topic. What I do (I'm using JavaScript Firebase Cloud Messaging for web push notifications): 1) Get FCM instance var messaging = firebase.messaging(); 2) Get token messaging.getToken...
Alexandr Rypun
1

votes
1

answer
204

Views

Batch push notification on Batch.onStart(this)

I use batch.com for push notification service, and i got error when initializing it. this my activity class: public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main)...
Mohammad Ranjbar Z
1

votes
0

answer
139

Views

Azure Notification Hub - Invalid authorization token signature with Java

Hi all I'm trying to send a notification with Azure Notification Hub in Java. This is the code I used: NotificationHub hub = new NotificationHub('Endpoint=sb://XXXXXXXXXX;SharedAccessKeyName=DefaultFullSharedAccessSignature;SharedAccessKey=XXXXXXXXXXXXXXXXX', 'myHubName');...
MicheleP
1

votes
1

answer
311

Views

firebase react-native push notifications working for iOS release builds, but do not work in app released via App Store

I have push notifications working as expected in a Google Play released version on Android with heads up display showing as expected. I also have push notifications working as expected in a release build via Xcode. The problem: push notifications do no appear as expected in an iOS build released...
studiobrain
1

votes
0

answer
144

Views

Push Notification failed to register in remote server - MFP 8.0

I have created sample application for Push Notification in MFP 8.0, I have installed mfpdev-cli and mfpdevkit, so i have my MFP 8.0 local server running in my machine. Below steps are following for registering the device Created app and added cordova plugin mfp-push and added android platform Regist...
sasi
1

votes
0

answer
29

Views

Notification appearance does not work

I have an app in the Play store, the firebase push notification icon looks like this, https://i.stack.imgur.com/918D2.png So I added this in my Manisfest: This worked when I used my cell phone as an emulator, but the play store update remains the same, it did not change the color or icon (the icon i...
Duh Oliveira
1

votes
1

answer
483

Views

Npm run dev " commands don't work on windows

Laravel Version: 5.4.1 PHP Version: 5.6 node v8.9.3 npm v5.5.1 Description: npm commands are completely broken on windows (windows 7 in this case), whenever I run npm run dev I get the following error: 'node_modules' is not recognized as an internal or external command, operable program or batch fil...
Anil Kumar Sahu
1

votes
0

answer
126

Views

Attaching unique id to endpoint(Web Push Notification)

I am working on implementing WebPush notification. When the user enables the notification, the json is generated with following data(Endpoint,auth,p256dh). At this point everything works fine and i am receiving the notification. But the problem is when i am reloading the page, the service worker is...
Vivi
1

votes
1

answer
478

Views

android Handle big Picture firebase notification in background

I have an android application and I tried to add big picture to notification. My issue that the big picture is working when the app is in foreground but when app is in background or closed the notification is received without picture. My code: intentNotification.addFlags(android.content.Intent.FLAG_...
mmm aps
1

votes
0

answer
243

Views

Push Notification Ionic 3 - Angular 4 redirect

I'm developing an app with Angular 4 and Ionic 3. The app sends a notification between users of the app when either of them are close to each other. This is similar to what happens with the Facebook feature that shows you which of your friends are close to your location. Currently, I can send and re...
Romina Barros
1

votes
2

answer
162

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 PushKit.framework I extended my AppDelegate with PKPushRegistryDelegate and implemented pushRegistry me...
Redssie
1

votes
2

answer
363

Views

new NotificationCompat.BigPictureStyle() show error couldn't inflate view for notification

I want to show Big size image in notification bar for that I am using this code I image come from the server.so inside AsyncTask convert that in bitmap and show in activity image view its working fine but when load the same bitmap in notification using notification Builder is show error Bitmap img =...
Ravi Jat
1

votes
1

answer
131

Views

Firebase/APNS Notification not receiving after ios app update

We implemented Push notification in our project with Firebase notification. Our current app (which is available in market) is receiving the notification and showing the notification in device (Badge, Alert). When we override the existing application with the new update (With new updated payload), th...
Yuvaraj.M
1

votes
0

answer
80

Views

How to use symfony3 web services to send notification to ionic application

I'm new on symfony and i would make connection between symfony3 web-services and ionic application to send notifications. Can you guide me solving this please? I had tried with fcm bundle but it not work for me. Thanks in advence.
oumeima
1

votes
1

answer
332

Views

How to ignore a remote/push notification while app is on background/terminated

Technologies Used: Firebase Cloud Messaging Swift 3.2 Xcode 9.2 To give you a background here's the data I'm sending via FCM on an api server { 'priority': 'high', 'content_available': true, 'alert': true, 'sound': true, 'registration_ids': [ '', '' ], 'notification': { 'title': 'SOME TITLE', 'body...
Zonily Jame
1

votes
1

answer
312

Views

OneSignal REST API get segment count

Having read the REST API documentation, I couldn't find any information related to getting the segment count for a notification. Is it possible to get it using the REST API? Getting the segment count is possible in OneSignal developer panel as you can change the filters and see the estimated number...
Juggernaut
1

votes
2

answer
406

Views

how can I play sound for long time when PN(push-notification) remote notification arrive

How can I repeat sound file when PN(push-notification) arrive in my device using Objective- c.
Giri
1

votes
1

answer
149

Views

Can We detect push notification received in swift even if the application is completely closed? [closed]

I am working on a chatting application and using firebase push notication service.I need to detect when the notification is received on the other iphone even if the application is closed to mark the message as delivered. I couldn't find any solution , although whatsapp does that even if the applicat...
jaafar barek
1

votes
0

answer
297

Views

Bad Authentication - while receiving push notifications

I developed a GCM service to receive push notifications on my app, it was working perfectly the last year till today, beginning from today I'm Not receiving any push notification on any device and instead I'm getting the following error log: [GoogleAccountDataServiceImpl] getToken() -> BAD_AUTHENTIC...
Muhammed Refaat
1

votes
2

answer
47

Views

Android - persisting data in Service

I'm using Firebase for Push Notifications. The problem is that notifications are not saved if my application is closed and only NotificationService is running in background. Saving is working in case my application is running. How I should persist data inside a service ? NotificationReceiver extends...
diftodi
1

votes
2

answer
34

Views

Time until it's 10 am again

I am trying to post a notification every day at 10 am. The notification is sent daily already, but not at 10 am, so I need to calculate the time to wait until its 10 am again for my AlarmManager. DateFormat dateFormat = new SimpleDateFormat('HH:mm'); long target = dateFormat.parse('10:00').getTime()...
Finni
1

votes
0

answer
140

Views

What happened to “gcm.notification.body” key in FCM extras (bundle data) ? FCM seems to stop sending it?

Before, it seems like the bundle data arriving with the Push Notification from FCM has the following: Before: { 'google.c.a.udt': '...', 'google.sent_time': '1486481416380', 'gcm.notification.e': '1', 'google.c.a.c_id': '...', 'google.c.a.ts': '...', 'gcm.n.e': '1', 'google.message_id': '...', 'gcm....
Kevin Le - Khnle
1

votes
0

answer
521

Views

FCM sometimes not receive push notification and sometimes receive push notification on android

I have a problem on FCM Android. The push notification is not received sometimes. I already put the code like in Google's tutorial but my apps are not working. I already put this on manifest file and then added this
Fajar
1

votes
0

answer
39

Views

java.lang.ClassCastException: fi.rogerstudio.possis.MainApplication cannot be cast to com.facebook.react.ReactApplication

I am getting this error when receiving push notification only when the app is open, foreground mode! Does anyone had this issue before using the Firebase push notification and react-native-fcm? COde: showLocalNotification(notif) { FCM.presentLocalNotification({ title: notif.title, body: notif.body,...
Mizlul
1

votes
0

answer
618

Views

React Native Android app crash when receiving push notification on foreground

App is working perfectly fine when receiving push notifications on background, but it crashes when in foregrond. I am using RN 0.49 and react-native-fcm 11.3.1 package. My code looks as below: FCM.on(FCMEvent.Notification, async (notif) => { // there are two parts of notif. notif.notification contai...
Mizlul
1

votes
2

answer
1.3k

Views

Open a page after click on notification using ionic and firebase cloud messaging

Good evening. I am trying to handle notification click in such a way that when the user click on a notification, a specific page of my application is opened. I am using FIREBASE COULD MESSAGING AND IONIC 3 Here is the code of the app.component.ts file in witch the code for handling notification is...
THE HOLY SPIRIT

View additional questions