Closed rakesh-oasys closed 1 month ago
To make sure I understand the issue correctly, you want the persistent notification that appears on android when the app is closed to be removed? if so then unfortunately this doesn't conform the Android guidelines as every app that runs in the background should give the user an indication that it's running, the notification is not dismissible as long as the app is running.
Hi @byshy ,
I'm sorry for phrasing my question improperly. let me ask it again.
How can I add action buttons to app notifications so that users can interact with them directly from the notification bar instead of dismissing them by swiping?
How can I make app notifications persistent in the notification bar, preventing users from dismissing them by swiping?
Oh okay, I got your point
The notifications that are displayed from the library are only visible when the debug mode is enabled, disabling it will prevent notifications from appearing
You can use other notification packages to help with that, you can trigger them from within the handler method, by doing so you'll achieve your goal of displaying custom notifications based on geofence triggers (keeping in mind that you diable the debug mode)
I am creating a app where user location is tracking while the app is in background. The notification also coming while the app is in background but my requirment is unless the user is not clicked on dismiss/Action buttions the notification will stick to the notification bar.
Thanks, Rakesh