Dolphin MOVE SDK
SDK
1.x
1.x
  • Introduction
  • MOVE Services
  • MOVE SDK
    • Getting Started
      • MOVE Dashboard
      • Android
        • Installation
        • Quick Start
      • iOS
        • Installation
        • Quick Start
      • React Native
    • API Interface
      • Android
        • Initialization
        • Services
      • iOS
        • Initialization
        • Services
      • React Native
        • Initialization
        • Services
    • Models
      • MoveAuth
      • MoveConfig
      • MoveConfigurationError
      • MoveDeviceStatus
      • MoveSDKState
      • MoveTripState
      • MoveAuthState
      • Listeners/Callbacks
    • Appendix
      • Android
        • Token refresh
        • Permission Handling
        • Battery optimization
        • Notification Management
      • iOS
        • Permissions Handling
        • App Store
  • MOVE Backend
    • MOVE Timeline
    • MOVE State
    • MOVE Last Location
    • MOVE Generic Notifier
    • Open Api Specification
  • Changelog
    • Android
    • iOS
  • Data privacy (GDPR)
Powered by GitBook
On this page
  1. MOVE SDK
  2. Appendix
  3. Android

Notification Management

PreviousBattery optimizationNextiOS

Last updated 3 years ago

When running an Android application in background, several apply, which also have on retrieving locations. To circumvent this, an application needs to show a 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 two methods to pass a :

  • - Whenever the MOVE SDK tries to detect for example activities, trips or even more

  • - When there is an active trip (.Running).

By providing a 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

limits
impact
foreground service
notification
MoveTripState
Notification.Builder
channel
Example notification
Recognition
Trip