Dolphin MOVE SDK
2.x
2.x
  • Introduction
  • MOVE Services
  • MOVE SDK
    • Getting Started
      • MOVE Dashboard
        • Access Control
        • Configuration
        • Timeline
        • Points of Interest
      • Android
        • Installation
        • Quick Start
      • iOS
        • Installation
        • Quick Start
        • Troubleshooting
      • React Native
      • Flutter
      • Move SDK CLI
    • API Interface
      • Android
        • Initialization
        • Services
      • iOS
        • Initialization
        • Setup
        • Services
      • React Native
        • Components
        • Initialization
        • Services
      • Flutter
        • Initialization
        • Services
    • Models
      • Listeners/Callbacks
      • MoveAssistanceCallStatus
      • MoveAuth
      • MoveAuthError
      • MoveAuthResult
      • MoveAuthState
      • MoveConfig
      • MoveConfigurationError
      • MoveDevice
      • MoveDeviceStatus
      • MoveGeocodeError
      • MoveHealthItem
      • MoveHealthScore
      • MoveOptions
        • DeviceDiscovery
      • MoveSdkState
      • MoveSdkAndroidConfig
      • MoveTripState
      • MoveScanResult
      • MoveServiceFailure
      • MoveServiceWarning
      • MoveShutdownResult
    • Appendix
      • Token refresh
      • Android
        • Permission Handling
          • Permission Overview
          • Runtime Permissions
        • Battery optimization
        • Notification Management
        • Forcing the Signal - Classic Bluetooth
      • iOS
        • Permissions Handling
        • App Store
      • React Native
        • Permission Handling
  • MOVE Backend
    • MOVE Backend
      • MOVE Admin API
      • MOVE TIMELINE API
      • MOVE State API
      • MOVE Last Location API
    • MOVE Generic Notifier
    • MOVE Assistance Notifier
    • Example requests
  • FAQ
  • Changelog
    • Android
    • iOS
    • React
    • Flutter
    • Backend
  • Data privacy (GDPR)
Powered by GitBook
On this page
  1. MOVE SDK
  2. Appendix
  3. Android
  4. Permission Handling

Permission Overview

The library requires at least the following permissions to access MOVE SDK services.

<uses-permission android:name="android.permission.INTERNET" />

Depending on the used services, different permissions are required. The following table gives an overview what's required:

Required permissions

Optional permissions

Mode of Transport

Driving

GooglePlayLocationAccuracy [1]

Cycling

GooglePlayLocationAccuracy [1]

Walking

Driving Services

Distraction-Free-Driving (DFD)

Driving behaviour events (DBE)

Other services

Points of Interest

GooglePlayLocationAccuracy [1]

Public Transport

GooglePlayLocationAccuracy [1]

Automatic Impact Detection

GooglePlayLocationAccuracy [1]

Assistance Call

[1] GooglePlayLocationAccuracy = isNetworkLocationPresent + isNetworkLocationUsable

[2] improves trip recognition and classification considerably

[3] required permission deprecated with v2.4.0+

In fact the MOVE SDK is not aware of permission changes, the developer can tell the MOVE SDK that the error is resolved.

MoveSdk moveSdk = MoveSdk.get();
if (moveSdk != null) {
    List<MoveServiceFailure> errors = moveSdk.getServiceErrors();
    if (!errors.isEmpty()) {
        moveSdk.resolveError();
    }
}
PreviousPermission HandlingNextRuntime Permissions

Last updated 10 months ago

[2]

() [5]

[4]

() [5]

[4]

[4]

() [5]

() [6]

[3]

[4] see Runtime Permission

[5] Since SDK 2.6: if backgroundLocationPermissionMandatory in is true the permission is mandatory else this permission is optional.

[6] Since SDK 2.6.9: if overlayPermissionMandatory in is false the permission is NOT mandatory anymore. Attention: in this case the device must be equipped with a gyroscope!

Grant the permission is strongly recommended. Similarly for the optional Activity Recognition permission (Driving) - make sure to request this from the user, otherwise it will degrade the quality of the service.

More Information regarding the Android system permissions can be found here:

The required permissions must be granted before the MOVE SDK service can be used. If any single required permission is missing, the entire MOVE SDK stops working. In case of missing permissions this will be presented by and/or by .

For more information about "dangerous permissions" visit the .

POST_NOTIFICATION
MoveOptions
ACCESS_BACKGROUND_LOCATION
MoveOptions
SYSTEM_ALERT_WINDOW
https://developer.android.com/reference/android/Manifest.permission
MoveServiceFailure
MoveServiceWarning
official developer page
ACCESS_FINE_LOCATION
ACTIVITY_RECOGNITION
ACCESS_BACKGROUND_LOCATION
POST_NOTIFICATIONS
BLUETOOTH_CONNECT
ACCESS_FINE_LOCATION
ACCESS_BACKGROUND_LOCATION
ACTIVITY_RECOGNITION
POST_NOTIFICATIONS
ACTIVITY_RECOGNITION
POST_NOTIFICATIONS
ACCESS_BACKGROUND_LOCATION
ACCESS_FINE_LOCATION
READ_PHONE_STATE
SYSTEM_ALERT_WINDOW
ACCESS_FINE_LOCATION
ACCESS_FINE_LOCATION
ACCESS_FINE_LOCATION
ACTIVITY_RECOGNITION
ACCESS_FINE_LOCATION
ACCESS_FINE_LOCATION
Background Location