Questions tagged [android-push-notification]

252 questions
2
votes
2 answers

how to go to specific activity on notification click?

There are several notifications and clicking on notifications i want to go to specific activity. Say a Reward notification appear and by clicking will go to RewardActivity and new friend added then clicking on newFriend notification will go to…
2
votes
2 answers

getIntent.getExtras() returns null data on notification click (Fcm)

I'm using fcm to send notifications with data payload (I'm excluding notification object as I want the user to get the notifications whether if the app is in foreground/background or killed). I'm able to get the notifications and navigate the user…
2
votes
1 answer

Prevent friebase system tray notification to be shown in Android

i have implemented Firebase notifications in my application and handling the push messages in handleIntent(Intent intent) method. Everything works fine and i'm able to receive messages in foreground and background. my question is how should i…
2
votes
1 answer

FCM Push notifications display raw json even after implementing dats messages

Following is the json that I am trying to send from the firebase console { "message": { "token": "bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...", "data": { "Nick": "Mario", "body": "great match!", …
2
votes
0 answers

Push notification not call OnMessageReceive when application kill

I am getting push notification when application in foreground/ background/ killed but onMessageReceived not called when application Kill. I write a code to play custom notification sound in onMessageReceived method continouesly. Custom notification…
smpatel
  • 71
  • 1
  • 8
2
votes
0 answers

Android Oreo GCM push notification icon white, when app is closed

I've read the ~10 similar questions to this on SO, and some other google search, and documentation pages, and I still can't figure out what the issue is. Basically, if the app is closed (or backgrounded), the push notification icon shows up as a…
2
votes
1 answer

Create Push notifications for Xamarin.Android without using FCM

I'm creating a xamarin.forms application and have got most of the app completed. My only hickup is push notifications. I'm sending my notifications to the app using SignalR and a .Net Web API Server. I'm able to receive notifications while the app…
2
votes
1 answer

Push notification on Android TV

I am working on an Android TV app, where in which I have a use-case to trigger some views once you get a push notification. Before starting on it I would like to know if Android TV supports push notification as it does in phones and tablets? I don't…
2
votes
1 answer

Android Firebase how to get the badge count response from firebase

I have an android app which can send notification to firebase and send messages to clients. My problem is how to get the BADGE COUNT which are responded by firebase ( how can I get the data which was in mBundle and map encirlced in the image).…
2
votes
0 answers

onNotification never gets called when sending Remote Push Notification

Has anyone managed to fix push notification on react-native on Android in both backgroud and foreground mode. I am building an app using react-native, the app is detached from Expo, using ExpoKIt. I am using RN 0.49 and this library:…
2
votes
3 answers

How to display a FCM Firebase notification sent with a server

Firebase offers two ways to seding a push notifications, using it's firebase console and using a server like in GCM was did before. Now we are translating our servers from GCM to Firebase, and we need to receive and show FCM notifications in the…
2
votes
1 answer

Example GET request to manage topic subscriptions from the server side using Firebase Cloud Messaging

I found at https://developers.google.com/instance-id/reference/server#get_information_about_app_instances the following example GET…
2
votes
3 answers

How to send push notification to android using php code?

I am integrating android push notification is working fine on the client side. Do I want to make server push notification using PHP? Please suggest if you know about the same.
2
votes
1 answer

how to get notification status of our android app dynamically

We implemented a chat application in android ,when user don't want to get any notifications, he will turn off the notification in settings of the app , but how to get the "status of the notification"(on/off) in android programming in order to…
uma
  • 259
  • 3
  • 22
2
votes
2 answers

Firebase Notification when application is close (Issue)

everybody, I m using firebase to receive a push notification from the server. Everything working fine when the application is running. I got the notification, I handle it and show it over notification tray. Seems perfect. Here is my code. public…