android-notifications Questions
3
I use FCM in my project and it works pretty well. But there is one issue: on some Android devices instead of coloured application icon (when no custom default icon is set and no icon is set in the ...
Cilla asked 11/9, 2020 at 10:15
6
Our app now has targetSdkVersion 26 (Android 8) and the app uses FCM push notifications. When app is in the foreground state the push notification is working well. The issue appears while clicking ...
Johnstone asked 23/11, 2017 at 10:59
3
Solved
I have an application that listens to receiving notifications. After installation, I should enable notification access to it from Setting -> Security -> Notification Access
I install this app on a...
Selfsupporting asked 18/2, 2018 at 19:0
4
I am having an issue where the local notification is not displaying in android though it is displaying in IOS. I have created permissions and battery optimization check to see if that is the proble...
Halftimbered asked 30/8, 2022 at 1:28
2
Solved
Each time I execute my app I obtain a "Bad notification for startForeground" error
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.pennskanvtic, PID: 17447
android.app.Remo...
Communicant asked 1/5, 2023 at 17:47
7
Solved
I have built an application with flutter that works like a reminder.
How can I display notifications to the user even though the app is closed?
Diapause asked 1/12, 2018 at 15:7
4
Solved
I have written a code in my GCMIntentservice that sends push notifications to many users. I use the NotificationManager that will call DescriptionActivity class when the notification is clicked. I ...
Tecla asked 4/5, 2013 at 16:46
25
I am using Google notifications in my app, and until now I have done below in the manifest:
<!-- GCM -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" /> <!-- GCM ...
Harim asked 20/11, 2014 at 15:57
2
I am working on a food delivery app with Flutter. I have recently implemented the flutter_local_notifications and the notification is working fine. But there's one problem is that the notification ...
Occur asked 21/7, 2020 at 9:34
2
I'm writing an android app that tracks the user's location and shows the distance, time and price of the trip in a notification, all this tracked in a ForegroundService. The service tracks the loca...
Bimetallic asked 20/8, 2018 at 18:47
9
Solved
Users can turn off notifications for individual apps in Android settings. Is there a method like isNotificationsAllowed() that allows me to check whether my app is allowed to post notifications? Al...
Linneman asked 7/1, 2015 at 9:4
4
Solved
Some apps have notifications which can´t be dismissed by swiping them away.
How can I manage such behaviour?
Aluino asked 27/8, 2013 at 12:1
2
Im am trying to make work react-native-fcm, with firebase cloud messaging and a react-native app.
I am focusing mainly in Android
[email protected]
[email protected]
OS: Android - Emula...
Gurias asked 21/10, 2017 at 12:16
3
I want to pop a notification (and upon clicking open the app) when some specfic event happens on the phone (in my case receiving a SMS with a predetermined format or from a specific phone number). ...
Charlot asked 30/11, 2019 at 14:28
4
Solved
I'm currently trying to make some kind of music player app. For playback I created a separate service. Because I want to keep it playing all the time, I'm calling Service.startForeground(). While c...
Gemini asked 8/5, 2018 at 18:45
9
Solved
In my hybrid Cordova Android app targeting API 23+ I want to use a custom sound for notifications. To that end I have done the following
In plugin.xml file for the single custom plugin I use in t...
Comras asked 26/2, 2018 at 10:57
6
Solved
I have a Media service that uses startForeground() to show a notification when playback starts. It has pause/stop buttons when playing, play/stop buttons while paused.
NotificationCompat.Builder m...
Garwood asked 25/3, 2013 at 8:21
2
Solved
Is there a way to show action buttons in notification expanded by default?
I use ongoing notification to control traning process in my app. I want controling buttons such as "Stop" and "Pause" to b...
Branscum asked 16/11, 2017 at 8:11
2
I'm currently working on an app with notification which are shown on a wear device. The notification contains an action binded onto the notification card (.setContentAction(0)).
Everything is wo...
Persephone asked 3/1, 2015 at 10:53
6
Solved
I listen for notifications like WhatsApp Messages.
But every time a notification comes in the NotificationListenerService fire twice.
Does anyone know this problem??
This is a snippet from the A...
Hadrian asked 29/10, 2015 at 10:46
3
When app is in background, the notification message is deliver by Notification, when the notification is tap, app is launch, how can i get the message body?
the intent is this:
Bundle[{google.se...
Congou asked 10/8, 2016 at 7:46
3
Solved
I'm trying to get my onBackgroundMessage to execute when the app is on Background and a notification has been receive, but it doesn't execute myBackgroundMessageHandler.
I did everything that was ...
Affirm asked 15/5, 2020 at 20:13
3
Solved
I'm trying to start foreground service as follow:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
NotificationChannel chan = new NotificationChannel(
getApplicationContext().getPackag...
Erective asked 4/3, 2020 at 15:57
13
Solved
After upgrading my phone to 8.1 Developer Preview my background service no longer starts up properly.
In my long-running service I've implemented a startForeground method to start the ongoing notif...
Engine asked 28/11, 2017 at 12:32
2
Problem: I want to cancel a Notification when I directly reply to that Notification. It works in Android N but doesn't work on Android 10.
My Code is like below:
MainActivity.java
public class ...
Thurber asked 28/4, 2020 at 10:35
1 Next >
© 2022 - 2025 — McMap. All rights reserved.