Questions tagged [android-push-notification]

252 questions
3
votes
2 answers

Custom Android Notification BigPicture with multiline summary doesn't work on API 25 and API 26

I successfully modify big picture notification using such code static class MyMultiLineBigPictureStyle extends Notification.BigPictureStyle{ @NonNull @Override protected RemoteViews getStandardView(int layoutId) { RemoteViews ret…
3
votes
0 answers

GCM notifications stop arriving after a few weeks

We have an Android app we use to send content (tech articles, walk-through guides, etc.) to our users using GCM. We're monitoring the sending at two points using a REST call to some service: Immediately after our servers send a…
2
votes
0 answers

Can't recieve push notifications on AVD?

I'm having some trouble receiving push notifications on my AVD devices. The app & notifications work without issue on physical devices so I know the AVD's are the issue. The app works perfectly on the AVD's (with the exception of the notifications)…
2
votes
2 answers

React Native Push Notifications not working in Android but works fine on iOS

I've recently set up push notifications in my React Native app and it's working fine in iOs, but failing to pop up in Android. Here is the function that I'm calling to trigger the notification. function pushNotif(){ …
Jon
  • 587
  • 2
  • 5
  • 10
2
votes
3 answers

Exception occurred while executing exported method getDevicePushTokenAsync on module ExpoPushTokenManager

I upgraded my expo push notifications and whenever I run it on Android, I get the below error: Exception occurred while executing exported method getDevicePushTokenAsync on module ExpoPushTokenManager. Please set your Project ID. A valid firebase…
2
votes
1 answer

OSPermissionSubscriptionState : Cannot resolve symbol

I'm trying to add push notification to my mobile native chat app. I'm trying to use OneSignal. I can send manual push notification, so I think gradle part is okay idsAvaiable method is deprecated, I started to looking for how can I get…
2
votes
0 answers

How enable full screen notifications with React Native

How to enable full screen notifications using React Native (android only). I'm using react-native-push-notification and this works fine but it's not full screen. I found this article, it describes how to add this functionality for notifications from…
2
votes
0 answers

Flutter Android Notification not being Shown

I'm developing an app in Flutter and using Firebase to send Push Notifications, the phone is receiving them but the issue is that I wan't to display a little retancle with some text inside such as WhatsApp does when you receive a new message, but…
2
votes
0 answers

How to send emergency alerts from server to android app in realtime when app is closed? Using foreground service or by using other channel?

Current Implentation: When event is generated at server I am sending notifications to android app using FCM, some notification are with normal priority and some with high priority. When notifications with high priority are sent to android app, app…
2
votes
1 answer

How many of my clients apps could I manage on Firebase?

Pretty simple Use-case, clients buy our app and pay 20$/month. We want to implement push notifications on both iOS and Android and are thinking of a scalable solution. We thought of simply grouping all Apps inside one Firebase project, as we only…
2
votes
0 answers

Uninstall tracking iOS and Android apps with inactive device token and silent push

There are several posts and discussions about uninstall tracking of iOS and Android apps. We would like to achieve this as well and tried the suggested solutions, but we found out, that this does not work as expected. The way this should be done is…
2
votes
0 answers

Is it possible to set a badge number from push notification in Android without starting an app

I want to send a push notification to my Android app with a number for a badge. I know how to set badge number from within the app. But is it possible to send such a push message, which will update a badge number to the one specified in the…
Dima
  • 1,717
  • 15
  • 34
2
votes
2 answers

Unable to instantiate receiver com.google.firebase.iid.FirebaseInstanceIdReceiver: java.lang.ClassNotFoundException:

I have checked many answers, but they didn't work. I just want to create simple push notification app. First I created for single device when I made an apk and tried to send notification on multiple devices it starts crashing. public class…
2
votes
2 answers

When app is in background or killed FCM onMessageReceived() not called

When app is in background or killed onRecive onMessageReceived() not called and i get just json in notification. below is my Service class public class AppFireBaseMessagingService extends FirebaseMessagingService { private static final String…
avez raj
  • 2,055
  • 2
  • 22
  • 37
2
votes
0 answers

How to prevent notification icon in shade from disappearing when put application in background

In my android app I am using notification service (NotificationManagerCompat). My problem is when I get more then one notification, I see them in the shade, but when I put my application in the background, all the notifications in the shade…
Amir Cohen
  • 69
  • 5
1 2
3
16 17