freerefills

freerefills

Android 12 - app notifications fire and immediately leave the tray for this app. Other apps work OK

I have an android app whereby notifications will fire and immediately leave the tray. This doesn’t always happen, it’s unpredictable they do sometimes stick around. It happens on android 12 but not 13. I don’t think it’s about the battery manager as I’ve read elsewhere as other apps than the one I’m trying to debug work fine.

Has anyone seen this? Any suggestions in terms of the app config / manifest / permissions that might cause this issue?

Most Liked

Daniel

Daniel

hi.
please config permission on manifest file.
And android 12 and 13 is so different in secure policy.

johnfisher

johnfisher

Notification Issue on Android 12?
Notifications disappearing unpredictably? It works fine on Android 13 but not 12. Could it be a config, manifest, or permissions glitch? Any insights?

Scarlet

Scarlet

An issue with how your app handles notifications in Android 12. Check if your notification uses setAutoCancel(true), which can cause it to disappear when tapped. Also, ensure you’re not unintentionally calling cancel() on the notification. Differences in behavior between Android 12 and 13 could be due to changes in notification permissions, foreground service handling, or OEM-specific quirks. Try logging notification events to see when and why they are dismissed.

Where Next?

Popular Android topics Top

Joakins
Android studio displayed access is denied during gradle build C:\Program Files\Java\jdk1.8.0_251\native\68d5fa5c4cc2d200863cafc0d521ce42...
New
AndroidDog123
I’m a developer working as a contractor for a company. I’m finding it confusing on how I should answer these questions? Has Google just b...
New
tunelabguy
I have an expensive app ($160) in the Play Store that I would like to update. I would like to do a beta test of the update with potentia...
New
freerefills
I have an android app whereby notifications will fire and immediately leave the tray. This doesn’t always happen, it’s unpredictable they...
New
vsiPr
I am trying to develop an app which will make your smartphone act as a “keyboard”. I need it to send different symbols to another devices...
New
Briannamari
Old android photo name sequence Help decoding file names Example. I want to see if a file name aligns with a time / date in which the p...
New
Sadik
I’ve been hearing a lot about AI in mobile phones lately, and I’m kind of confused about how it’s different from the usual smart features...
New
skysnap
Helo, I’m using doubleviewpager in my project: Is there something similar that works with android x?
New
Garrett
This is a question about Android Studio. Where is the Android Studio emulator’s camera default apartment 3D model stored in Android Stud...
New
Garrett
I’m stuck trying to understand how to get a variable initialised, and later updated, in kotlin to update in Jetpack Compose and cause a c...
New

Other popular topics Top

dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
gagan7995
API 4 Path: /user/following/ Method: GET Description: Returns the list of all names of people whom the user follows Response [ { ...
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
hilfordjames
There appears to have been an update that has changed the terminology for what has previously been known as the Taskbar Overflow - this h...
New
sir.laksmana_wenk
I’m able to do the “artistic” part of game-development; character designing/modeling, music, environment modeling, etc. However, I don’t...
New