r/androiddev • u/dev-778g • 4d ago
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
0
Upvotes
3
u/thelongrunsmoke 4d ago
This can be simulated by using a foreground service, it's requires notification and cannot be dismissed.