carp.sensing-flutter
carp.sensing-flutter copied to clipboard
Even if location permission is not granted always, the location service should be started
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