Questions tagged [android-push-notification]

252 questions
1
vote
1 answer

Custom notification like Inshorts

I want to create a custom notification like inshorts as shown in Image below And i am able to achieve that as well, shown in screenshot below : But there are two problem cases: When i install the app using Android Studio, initially it works fine…
1
vote
1 answer

Web-push notifications without a title don't appear

The PWA Web-push notifications for Android aren't appearing without a title set (body only). I have a bug that an Android push notification is not multiline. All the text is set in the notification's title - no surprises. Splitting the text is…
1
vote
1 answer

Update server endpoints while migrating to FCM

The GCM server and client APIs are deprecated and will be removed as soon as April 11, 2019. My question is, what happens if the server endpoint is not updated post the dead-line. I already have apps that are using Push Notification on store and do…
1
vote
2 answers

Push notification sound is not playing app is in background

when i am sending notification from firebase at that time when app is background then notification comes but notification sound is not play. but when app is running at that time sound is playing. And there is problem when i am sending notification…
1
vote
0 answers

Android GCM Push notifications not received on some latest OS (Oreo and Pie)

We're using GCM for push notification for our app with target release to 26. But on some devices with OS(Oreo and Pie) notifications are not received. We have implemented push notification channels as well.For mostly users it worked but some users…
1
vote
2 answers

Postman work correctly but Android app don’t receive notification

I want to send push notification to Android app from Postman. My settings are: Sending notification works right and Postman shows me “{"message_id":6108453121985358090}” (example). However, Android app doesn’t receive the push notification. In the…
Yevgen
  • 93
  • 1
  • 1
  • 8
1
vote
2 answers

Receive a notification issue and open a fragment

I am working on application notification when a user receives a friend request notification and clicks on the notification the application has to redirect him to the user profile who have sent the request. I am facing more than a problem: first, if…
1
vote
0 answers

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 'PushNotificationIOS.getScheduledLocalNotifications()' and get…
1
vote
1 answer

Android - redirect a fragment in main activity from notification

I have a loginActivity and MainActivity with multiple fragments and one of them is called NotificationFragment. Requirement: Assuming user is already logged in and is currently on Home Fragment (inside Main Activity) and app is in background. Now…
1
vote
1 answer

Firebase Cloud Messaging (FCM) onMessageReceived never gets called in the service

I'm using firebase to send a push notification to Android devices. When I send a push with notification It works fine, the device shows a notification and clicking on the notification will send the user to the main activity and sends the data as…
1
vote
0 answers

Push notification for android stays always at bottom

The push notification for my app always stays at the bottom of the notification tray screen no matter when it is sent. I am using Firebase Cloud Messaging. Is there something that I can do so that the app's push notifications come to top of the…
1
vote
0 answers

Notification message sent thru pinpoint does not reach the Mobile

Based on the link I tried tried working and here is the code I tried out public static void SendNotification2(String appid, String pinpointEndpointId){ try { GetEndpointRequest getEndpointRequest = new GetEndpointRequest() …
1
vote
2 answers

Firebase push notification activity is not opening when app is in background?

Actually I'm implementing firebasePushNotification service which is working wihtout any issue . Now when I'm receiving push_notification and my app is in foreground by clicking the notification intent is being passed to the desired activity without…
Srinivas Nahak
  • 1,846
  • 4
  • 20
  • 45
1
vote
0 answers

Notification continuously ringing ring. How to make it to ring only once?

i Have used it with notification builder final NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this, NotificationChannelCreator.COMPLAIN) .setSmallIcon(R.drawable.prescient_logo) …
Gautam Kumar
  • 1,385
  • 14
  • 17
1
vote
1 answer

Generic Android notification handler

I am implementing push notifications in my Android application. We are using OneSignal to send push notification. We have an API that keeps track of all the devices and API decides which devices to send push notification. API requests OneSignal and…