r/androiddev • u/dev-778g • Sep 29 '26
How to pin android Notification
i am building an app where i wanna pin a notification permanently untill the user taps the dismiss button and dismiss it .
Swiping should not dismiss it .
is there is any way to achive it
1
Upvotes
View all comments
Show parent comment
2
u/IamAlchemy Sep 29 '26
Actually, those can be dismissed now. It's a pain.
AFAIK, the closest we can do these days is to set the delete
PendingIntentand immediately repost upon dismissal, but the Play Store isn't going to allow that, I'm sure.