259 questions
8
votes
1
answer
812
views
Android 16 Live Updates Notifications, canPostPromotedNotifications() always false, (No Status chip, not expanded, collapsible)
I'm currently testing official live updates android feature for notifications in Android 16
https://developer.android.com/develop/ui/views/notifications/live-update
https://www.youtube.com/watch?v=...
0
votes
2
answers
232
views
How to implement timer-based push notifications in Flutter (Android/iOS) without Firebase or backend services? [closed]
I want to implement push-like notifications in a Flutter app for both Android and iOS, where a countdown timer is visible directly inside the notification.
The key requirements are:
The notification ...
0
votes
1
answer
346
views
Cannot fully control Android Notification Color (Flutter)
I've setup push notifications in my flutter app using firebase and I'm trying to set the custom push notification icon, with a custom background color.
I've created a plain white png image with a ...
1
vote
1
answer
329
views
Firebase FCM Notifications Sent but Not Received on Android (Works on iOS)
I am implementing Firebase Cloud Messaging (FCM) in a React Native app. The notifications work perfectly on iOS but are not received on Android devices.
FCM Console reports notifications as "Sent&...
0
votes
1
answer
212
views
How to keep token active to use google firebase notification push
How can we keep a Google Firebase push token alive? According to the Google documentation, the token expires in 30 days if the user uninstalls the app or loses their smartphone. However, we need the ...
2
votes
0
answers
604
views
Android: Show "Open link" button in notification for links
On Android When I receive a link within notification for some apps, notification previews this "Open link" button, click on it opens the link either in browser or in an app that can handle ...
1
vote
0
answers
139
views
connectivityManager.activeNetwork is null with device in energy saving
in this scenario connectivityManager.activeNetwork is null:
App closed
Push received
Energy saving enabled
connectivityManager.activeNetwork = null
If energy saving is disabled connectivityManager....
1
vote
0
answers
588
views
How to set badge count for Android notification using FMC + kreait/firebase-php?
I'm trying to add a badge count to push notifications to Android that I'm sending using Firebase Cloud Messaging and kreait/firebase-php.
My app is an appointment app and I want each notification to ...
1
vote
0
answers
76
views
OneSignal Push Notifications does'nt open app after dynamic icon change at android
I have an application with a dynamic icon-changing feature.
When clicking on push notifications, it opens the app
but after changing the dynamic icon the push notifications do not open app on Android.
...
1
vote
0
answers
152
views
How to show the fullscreen display notification when the app is terminated at Flutter?
I want to show the full screen notification when the app receive the fcm.
exactly when the value of isfullscreen is received as true from the payload value of fcm.
I have main.dart and ...
0
votes
1
answer
79
views
Android notification tap launching new instance of activity even with singleTop launch mode
I am trying a simple example of triggering a notification from an Android app and want the existing activity to be launched when the user taps on the notification. However, I see that a new instance ...
2
votes
0
answers
203
views
How to ensure consistent delivery of Firebase Cloud Messaging notifications? Inconsistent FCM Notification Delivery while sending to large user base
I am using Firebase Cloud Messaging for sending notifications to the user. But i am not getting notifications consistently on all devices. I am sending notifications to audience around 7M. Below is ...
1
vote
1
answer
256
views
Custom android notification icon not showing on Garmin watch
In Android Studio I added Image Asset to res folder. Icon Type is Notification Icons. In AndroidManifest I added
<meta-data
android:name="com.google.firebase.messaging....
0
votes
1
answer
112
views
Open a specified Activity from the launcher screen if the push notification is tapped
I need to redirect to a Specific activity in kotlin from the SplashScreen which is the launcher Activity of my application when I tap the push notification from the system tray.
In my application ...
0
votes
1
answer
174
views
How do I send a data-only Android notification using the Android SDK?
Using Firebase Cloud Messaging I can push data-only messages. Doing this sends data to my app without showing a notification to the user. Is there any way to do this using only the Android SDK?
2
votes
1
answer
395
views
Gradle Issues with Firebase implementation (buildScript syntax)
I have a React Native (0.68.6) application that I want to implement Firebase push notification. I'm using mac and I wanted to implement & test on android first.
I created Firebase account and ...
1
vote
1
answer
4k
views
How to I request for Post Notification permission for Android 12L or lower?
We know in Android 13 and above, we can (and have to) ask for Post Notification permission as per https://stackoverflow.com/a/72981519/3286489
Also, we know that in Android 12L and earlier, the Post ...
0
votes
0
answers
131
views
real time notifications between mobile app and web app
I'm developing an application in which users can send reports to the admins and the admin has a web panel from where he can check the reports from the users. So I need real-time notifications between ...
1
vote
0
answers
246
views
Custom push notification
how to send custom push notification to 1.5 million users with there name in body using firebase or SNS push notification?
For example: we have username: Santosh, Fcm: adgbbdghjjjbc
Then user will get ...
1
vote
2
answers
1k
views
Customize Style for Notification Action
quick question, is it possible to customize style for Notification action in android, so the notification can look like the one from popular messaging apps like WhatsApp, Viber, Slack.
So far I've ...
0
votes
1
answer
125
views
Xamarin Android Display icon on Main Page after CrossFirebasePushNotification.Current.OnNotificationReceived fires
I have a Xamarin multi-platform app and I'm using the FirebasePushNotification Plugin v3.4.35 and am working on the Android app. Their instructions suggest the addition of a MainApplication : ...
1
vote
0
answers
111
views
Push notification not showing on android in foreground mode only for the first time
I am facing some weird behaviour on showing push notification on android using FCM.
When I am using app in foreground mode - Received notification silently but no message/title in notification bar.
...
1
vote
1
answer
11k
views
Error: The registration token is not a valid FCM registration token
I have an Android App (Angular + Ionic) that uses Firebase to sent notifications.
The app has been working for a while with no problems.
I recently made some changes to the DB service of the app - ...
1
vote
0
answers
321
views
Expo requestPermissionAsnyc not showing prompt on Android
I have been implementing push notifications for my React Native mobile app. But I am having issues now the app is in our staging environment.
When the user signs in, their deviceToken is sent to our ...
1
vote
0
answers
125
views
How to set firebase notification on WearOs From Mobile
I've an application for Android mobile and wear-os with same package name as companion app. When their is notification came on Mobile for my App and Mobile is not in use then notification received on ...
0
votes
2
answers
2k
views
Custom Expo Push Notification Icon Not Displaying On Android Device(s)
I have been able to successfully configure expo push notifications for my app (title and message appears), but I cannot for the life of me change the default expo icon (upside down V). This is what's ...
0
votes
1
answer
660
views
Android. How to receive push data inside launch activity?
I'm using firebase cloud messaging. I have implemented FirebaseMessagingService. And everything seems to be working well. However, I have a question, is it possible, if my application is not running, ...
0
votes
1
answer
572
views
How to get Push Notifications working for React Native Expo app
I recently noticed that notifications for a mobile app I work on no longer work.
I had a thought this morning, and think it could be down to how we build the app now. Previously, we used the now ...
-1
votes
1
answer
302
views
Firebase Push Notification Giving Error like 'int java.lang.Integer.intValue()' on a null object reference
Here is the Class of Local Notification Service which will Call while the Notification Came
class LocalNotificationService {
static final FlutterLocalNotificationsPlugin _notificationsPlugin =
...
1
vote
3
answers
3k
views
Prevent Android 13 from showing the notification permission prompt
Android 13 automatically asks the user if they would like to allow the app to send them notifications.
My app does not show any notifications, therefore it doesn't make any sense to ask the user for ...
1
vote
1
answer
4k
views
React Native OneSignal: User not prompted for consent on Android
In my React Native app, I want to prompt the user to consent to receiving OneSignal push notifications. I have the code OneSignal.promptForPushNotificationsWithUserResponse(), which on iOS ...
1
vote
0
answers
125
views
Delphi Android App not starting with activated pushnotification
My android App will not starting since API > 30 and in googles play store the target api-level has to be greater then 30 for updates I am not able to make a app-update.
When I uncheck the flag &...
0
votes
0
answers
84
views
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 ...
3
votes
1
answer
3k
views
Flutter: Android notification icon displays white
I'm using flutter_launcher_icons package to generate launcher icons for the apps. Everything works as expected, the launchers are generated and set for Android and iOS. However, on Android push ...
-1
votes
2
answers
6k
views
React Native - Android Handle click on notification to navigate to specific screen
I used this library https://github.com/zo0r/react-native-push-notification for remote push notification, onNotification method fired only when receive notification, no when tapped notification , i ...
0
votes
1
answer
636
views
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 ...
0
votes
2
answers
139
views
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 ...
3
votes
1
answer
2k
views
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 ...
1
vote
0
answers
153
views
open specific activity and send data on click of a notification when app is killed
I have an application implemented with firebase push notifications.
I have a scenario where I open a NotiticatinDetails activity on click of the notification and show the notification message in a ...
1
vote
0
answers
196
views
Flutter flavor does not refer the resource folder
I have arranged my app flavor folders and the build.gradle file specification as below image.
Resource files are identical in both flavors but image content are different (ex: red color and green ...
2
votes
0
answers
313
views
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 ...
2
votes
0
answers
1k
views
Custom Push Notification - Full width background color
I am implementing custom push notifications. I have a custom layout, modified using RemoteViews. I have set color using
contentView.setInt(R.id.parentLayout, "setBackgroundColor", ...
0
votes
0
answers
2k
views
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 ...
1
vote
0
answers
375
views
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 ...
0
votes
0
answers
49
views
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(@...
0
votes
1
answer
1k
views
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 ...
1
vote
1
answer
2k
views
the notification icon is white in android but works fine in iOS
I have been using Unity and firebase messaging for push notification it is working fine with iOS but for android the certain phones are having white box instead of the application icon for phone that ...
1
vote
0
answers
1k
views
How to check the Notification Received Status from Firebase in my Server
I have setup push notification service with Firebase, I'm sending notifications with the help of REST API, notification are received by different clients at different times based on their token.
There ...
5
votes
2
answers
13k
views
Firebase flutter push notification not working on android
I have registered my app, added google-services.json file to my app folder. I added required depndcies etc. I did everything still when I send notification from firebase console I don't receive ...
2
votes
2
answers
21k
views
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.
...