Questions tagged [android-push-notification]
252 questions
0
votes
0 answers
notification that always stays on the screen without clear notification
how can I push notifications in Android that always waiting for and that always stay on the screen. In this case clear notification is disabled.
As you see in picture clear is disabled.
How to make a notification in Android that is always…

Hamid Tohid
- 3
- 3
0
votes
0 answers
how to get received telephone number from Whatsapp Notification?
I want to get message from Whatsapp.I can whatsapp message but how to get received telephone number from Whatsapp Notification?
My code in NotificationListener;
@Override
public void onNotificationPosted(StatusBarNotification sbn) {
…

freud
- 25
- 5
0
votes
0 answers
Fetch image in FirebaseMessagingService causing UnknownHostException
We are using image is our push notification. This is the code to get the bitmap from URL:
try {
return BitmapFactory.decodeStream(URL(url).content as InputStream)
} catch (e: Exception) {
//Used for debugging production data…

Nitish
- 3,097
- 13
- 45
- 80
0
votes
0 answers
FCM message not receiving when the app is closed, even I don't have notification payload
FCM message not receiving when the app is closed, even I don't have notification payload. I tried a lot of solutions but not worked. Can someone help me in this issue? It is working well when the app is running, also working when the app is…

Saad Ahmed
- 71
- 5
0
votes
0 answers
Customizeable badge counts for android phones
I’m working on a project involving push notifications. I’ve noticed that just about every push notification service out there, has the ability to customize badge counts for iOS. However, every push notification service that I’ve looked at doesn’t…

Joey
- 1
- 1
0
votes
1 answer
Android Notifications - Popup but with no Sound
We are sending Push Notifcations to our Android app. We want them to appear as a "Pop-Up" by default.
The only way I have been able to get that to work dfo that seend to do that is to target a specific notification channel with an Importance of…

Pat Long - Munkii Yebee
- 3,592
- 2
- 34
- 68
0
votes
2 answers
How to open activity page in fragment, when pressed a notification in android
I have PushNotificationService and my method onMessageReceived.
If I am in the program, a notification comes from above and directs me to the page I want.
However, when the program is closed, when I click on the notification in the background, it…

Revenge
- 3
- 3
0
votes
0 answers
Android full screen notification when application is in the background
I want to apply full notification like Whatsapp incoming call to our phone. But I can't do that when my android apps is in the background state.
This is my build.gradle
minSdk 23
targetSdk 32
I have tried to use Broadcast Receiver and Foreground…

Deka Thomas
- 38
- 7
0
votes
0 answers
Which Push notification service provider to use for Android which doesn't use FCM
I am working on an Android app for a client. App won't be deployed on Play Store. Also, the customer doesn't want to create a Firebase account.
Which Push notification service provider can I use which doesn't have any dependency on Firebase.

Sahil
- 86
- 2
- 6
0
votes
0 answers
android Notification push data
Notification data is received when the Android application is background or foreground, but notification data is not received when it is terminated.
@Override
public void onMessageReceived(@NonNull RemoteMessage remoteMessage) {
if…

chan
- 1
- 1
0
votes
1 answer
React Native Push notification In Chat Application
Currently, I'm building one chat application using react native amplify, it works fine when both users are online and are on the same screen ( stack screen to be specific ), I'm able to show push notifications to users for the new message using a…

Praveen Rana
- 440
- 7
- 21
0
votes
1 answer
Is there a way of handling Android notifications while the app is completely closed?
i have a nodejs server which i use to send notifications to my android app, written in kotlin. The problem is that the notification doesn't work when the app is closed, please help

Peace TheeCoder
- 27
- 5
0
votes
0 answers
Push notifications are not coming
My Xamarin.Forms app is sending push notification, but for some reason it does not work consistently. E.g. when a notification is sent to an Android phone, it may come immediately, or an hour later, or not come at all. Or now I am sending a…

David Shochet
- 5,035
- 11
- 57
- 105
0
votes
0 answers
How to send notification to a device using FCM token in Android Studio?
I am trying to send notification to a specific user using FCM token. When I send press the send notification button the notification is received in the same device from which it was sent and not to the device with the token. Here is my…

Parwez Akhter
- 1
- 2
0
votes
1 answer
Android - permission to receive Firebase push notifications
Can I ask users' permission to receive Firebase push notifications and to allow users to opt out from receiving push notifications when first run the app?
I know that push notification permissions are included in the normal and not dangerous…

Grinton
- 3
- 2