carp.sensing-flutter icon indicating copy to clipboard operation
carp.sensing-flutter copied to clipboard

Even if location permission is not granted always, the location service should be started

Open bardram opened this issue 3 years ago • 0 comments

Right now it seems to not start, if not granted "always".

I/flutter (19417): [CAMS INFO] LocationServiceManager - Trying to connect to device of type: dk.cachet.carp.protocols.domain.devices.LocationService and id: location_service
I/flutter (19417): [CAMS INFO] Configuring LocationManager - configuration: LocationService - roleName: location_service, isMasterDevice: false
I/flutter (19417): [CAMS WARNING]  LocationManager - Permission to collect location data 'Always' in the background has not been granted. Make sure to grant this BEFORE sensing is resumed. The context sampling package does not handle permissions. This should be handled on the application level.
I/flutter (19417): [CAMS DEBUG] LocationServiceManager - setting device status: DeviceStatus.disconnected

bardram avatar Oct 04 '22 13:10 bardram