Notification Management

Since Android 13 there is a new Notification Runtime Permission introduced.

When running an Android application in background, several limits apply, which also have impact on retrieving locations. To circumvent this, an application needs to show a foreground service with a notification visible to the user.

The notification is visible to the user and should therefore be maintained by the host app. For this reason the initialization provides three methods to pass a notification:

By providing a Notification.Builder you can freely customize the visible notification. With the notificationId you can even update the notification whenever you need to.

Don't forget to create a notification channel

Last updated

Dolphin Technologies GmbH