My company has an enterprise application that starts in Kiosk Mode.
When we start a foreground service / service in android the Service notification is shown and the user can click on it and then eventually disable/uninstall the application.
Is there a way to not show the notification? Or even another way of starting the foreground service?
Regards,
7 Replies
Hello,
Have you tried the following: mBuilder.setOngoing(true); ?
On devices with MX 11.3 or later, notifications can be controlled in whole or individually by app:
https://techdocs.zebra.com/mx/notificationmgr/
I also recommend checking the EHS Security Notes section for additional info about user access to notifications:
https://techdocs.zebra.com/ehs/4-1/guide/features/#securitynotes
Thank you very much!
Are there examples of using
https://techdocs.zebra.com/mx/notificationmgr/
I also saw that setting the importance of the notification to low does not show it, BUT does that effect the lifetime of the service?
Regards,
Hi,
If the Application would be killed by Android for using to much resources or it stopping the service.
Please clarify what you mean by "lifetime of the service."
I will ask engineering for samples. If provided, they will be posted at:
https://techdocs.zebra.com/mx/notificationmgr/
Thank you!
Notification Manager XML samples are posted:
https://techdocs.zebra.com/mx/notificationmgr/#examples
I hope you find them helpful.
-E.Correia