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

Exadra37
I am in the process of research for my next technical blog about bypassing certificate pinning with Frida, thus I need to find some open ...
New
husaindevelop
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New
tauseeqafzal
Question: Android Developer → is there any way to read the .trash directory? → we can copy or save the file before delete ? #android...
New
Joakins
Android studio displayed access is denied during gradle build C:\Program Files\Java\jdk1.8.0_251\native\68d5fa5c4cc2d200863cafc0d521ce42...
New
DAZ
Is it possible to develop an application that will generate NFC pulses even when the screen is off?
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
JesperBlom
Hi Hope it is a simple question :slight_smile: I am planning to use a new PC for making my enterprise app. Everything works perfect, b...
New
Rodion
Hello everyone, I recently started learning Kotlin and downloaded Android Studio, but after writing my first code and trying to run it, I...
New
Ujjwala
I’m developing an Android application in which I need to add functionality to automatically read a CSV file from a file manager, parse it...
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

Other popular topics Top

AstonJ
What chair do you have while working… and why? Is there a ‘best’ type of chair or working position for developers?
New
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
Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
PragmaticBookshelf
Author Spotlight Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
New
New
NewsBot
Node.js v22.14.0 has been released. Link: Release 2025-02-11, Version 22.14.0 'Jod' (LTS), @aduh95 · nodejs/node · GitHub
New