Location Manager
Before starting tracking location using Asset SDK, you need to request location permissions using LocationPermissionsManager.requestLocationPermissions()
Required permissions
Check if all requested permissions are granted
-
Fine location or Coarse location permission is Checked
You can request Fine Location and Coarse location permissions using permissionsManager.requestLocationPermissions(this) and handle the permission result in the onRequestPermissionsResult callback.
-
Request Fine location and Coarse location permissions first
-
Handle the permission result