Questions tagged [android-push-notification]

252 questions
4
votes
1 answer

How to implement push notification in Qt android application

I develop a android application using Qt, now i wanna send push notifications. i couldn't find any push notification service that has a Qt SDK. i should mention that because of sanctions i couldn't use Firebase. is it possible to use other SDK using…
3
votes
1 answer

navigatorState is null when using pushNamed Navigation onGenerateRoutes of GetMaterialPage

I'm using flutter_callkit_incoming package to get callsNotification in my application through the payload of FCM in all states of my App i.e background/forground/terminated state. Navigation is fine now to the VideoCallingAgoraPage after clicking…
3
votes
2 answers

How to access the Push Notification counter on Android (TV)?

I would like to access the number of currently available push notifications The following :, here on a Android TV emulator image.. So how can I read that number? EDIT: I do not want to set anything.
3
votes
0 answers

Onesignal node js Incorrect player_id format in include_player_ids

When I am trying to send a push notification to the list of Android devices getting below error and notification not delivered to any device. Error: [ 'Incorrect player_id format in include_player_ids (not a valid UUID): 1234567890' ] Devices…
Sujeet Kumar
  • 1,822
  • 22
  • 25
3
votes
1 answer

Different call sequence of the Activity lifecycle callbacks while opening app from the push

I'm seeing a strange behavior while open app from the push notification. There are 2 cases: 1) the app is in the background and device is unlocked; 2) the app is in the background and device is locked. When device receives push notification I click…
ilyamuromets
  • 403
  • 1
  • 7
  • 18
3
votes
1 answer

Android: Using Person with NotificationCompat

I want to use Android's Person class to create a sender of a notification so the user image is displayed in MessagingStyle notifications in Android P. However, the NotificationCompat.MessagingStyle class doesn't support using the Person class, it…
3
votes
2 answers

Is there any way how to get data from push notification using FirebaseMessagingService in background?

I'm using FirebaseMessagingService for my push notifications. It is working as intented in app. onMessageReceived is called, I can get notification title and body + data payload and send reaction depends on payload data to my Activity using…
3
votes
2 answers

Is there way to use push notifications in our ionic 4 project?

We currently have an Ionic and Firebase project that we coded. In this project, we want to use push notifications. But our trouble is: We are looking for a push notification plugin, like WhatsApp application. For example, when we send a message to…
3
votes
0 answers

react native push notification snooze

I'm using https://github.com/zo0r/react-native-push-notification for local push notifications. It also includes an options to have some buttons on the notification("actions"), which I can press on. However, when I'm getting a notification, in order…
member555
  • 797
  • 1
  • 13
  • 40
3
votes
0 answers

firebase_messaging not customizing notification when app is not in foreground

I need to group notifications from firebase about messages comes from users. Firebase push notification is grouping achieved by using **flutter_local_notification** plugin. This is done inside onMessage() callback set up during Firebase…
3
votes
1 answer

Firebase FCM - Why am I getting: payload error, invalid 'android' (or 'apns') property

I am using cloud functions (node.js) to send notifications to devices. I have my payload set up like this: const payload = { notification: { title: payloadSender, body: payloadMessage, }, data: { chatId: chatId, …
3
votes
1 answer

Send Push Notification to Android app upon the data update in the server, and open custom Activity

Needed a suggestion/idea. I have to send the push notification to the android app when the data is changed/updated in the server. I have got a news app, so whenever the news is being updated in the server, the user should get the push notification…
3
votes
1 answer

Android O Notification for Direct reply message

We are migrating to Notification Channel system in Android O, we noticed that once Channel is created, it's properties cannot be changed. We have the following scenario, - Notification channel is created with, NotificationChannel channel = new…
3
votes
1 answer

App in background doesn't receive message from pubnub for android in Titanium

I am using pubnub for push message from server for android. I get the message when app is in foreground. But i didn't get message if app is inactive in background mode or in locked mode. How can I get the pubnub message if the app is in background…
Nuibb
  • 1,800
  • 2
  • 22
  • 36
3
votes
1 answer

FirebaseMessagingService onMessageReceived called on main thread?

Is FirebaseMessagingService onMessageReceived called on main or background thread?
Don Box
  • 3,166
  • 3
  • 26
  • 55
1
2
3
16 17