Questions tagged [android-notifications]
A status notification adds an icon to the system's status bar (with an optional ticker-text message) and a notification message in the notifications window.
android-notifications
4,964
questions
0
votes
0
answers
18
views
Change text color of Android notification action
I'm trying to have an action on my notification with red background and white text.
I've tried:
endString.setSpan(
ForegroundColorSpan(
ContextCompat.getColor(context, R.color....
0
votes
0
answers
15
views
How can I play a custom tone using a downloaded audio file?
In my app, I have multiple sound files fetched from the server, and these files can change based on server configurations. When an FCM notification is received, I need to set the downloaded tone file ...
0
votes
1
answer
38
views
How Do You Make A Foreground Service Notification Only Appear When The App Is Closed Or In The Background In Android?
As the title says, how do you make a foreground service notification only appear if the app is closed or in the background?
I have a sample app I'm trying to implement that feature into to but I don't ...
0
votes
0
answers
29
views
The progress bar stuck at 100% in notification bar when download file from internet
I was downloading a pdf from url and save in app storage this code work as it download file and save in app storage and notify user about download in notification bar
But the problem are occur some ...
0
votes
0
answers
16
views
Add custom text in native call notification in react native callkeep
React native call keep shows the native notification when receiving a call it has the name of the caller and some text like Incoming call via. Is there any way where we can customise the text. I just ...
0
votes
0
answers
34
views
Full Screen Intent is not working when Extend Unlock/Smart Lock is enabled in device
I'm implementing a VOIP call based app, Full screen notification is working fine as expected in other cases. But when extend unlock or smart lock setting is enabled in device, in that case sometimes ...
2
votes
0
answers
47
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 ...
0
votes
0
answers
24
views
Flutter schedule push notifications problem
I'm writing a tasker program, and I need to send notification before 24 hours of deadline. I'm trying to send notification by schedule but I've a problem
It worsks but when I add the schedule it ...
0
votes
0
answers
18
views
Flutter Local Push Notification Custom Vibration
Custom notification vibration pattern in Flutter Local Push Notification doesn't work.
Setup a notification channel or details, the vibration pattern not work
AndroidNotificationChannel(
"...
0
votes
0
answers
49
views
Firebase Notification (http v1 API) shows error when I set Minify Enable = true, Access token failed: com.google.auth.oauth2
I am using Firebase Notification for my my chat Application for android. all code works fine if i set isMinifyEnabled = false but when I set isMinifyEnabled = true; like this then notification fail to ...
0
votes
0
answers
46
views
Sending a notification targeting users by language or country/region doesn't work using Firebase Console
While composing a notification in Firebase Console you can target user segments by various criteria. I need to cover multiple languages, so I expected I could send one notification per language and ...
0
votes
0
answers
57
views
Bad notification(tag=null, id=100) posted from package : Crash on App launch after app update
I have an app on play store, whenever users are updating app and upon first launch the app is getting crashed multiple times with below logs reported on firebase crashlytics:
Fatal Exception: android....
0
votes
1
answer
33
views
Flutter Local Notification - Payload getting captured only in active state
I have a flutter app which is generating local notifications as per scheduled timing.
When the app is in active state/home page, and a notification is generated, I am able to capture the payload when ...
0
votes
1
answer
56
views
How can I access the CarContext in a Android Auto Media App?
I am currently building a Radio App for Android Auto and I simply want to send a notification to the screen when a song gets requested.
I'm trying to send a CarToast but it requires a CarContext:
...
1
vote
1
answer
52
views
How to access media-service notification controls with UiAutomator?
I'm basically starting a foreground media-service from an activity and then move the activity to Lifecycle.State.DESTROYED. ServiceTestRule is not really sufficient for testing bound services, which ...