forceAndroidLocationManager property

bool forceAndroidLocationManager
final

Forces the Geolocator plugin to use the legacy LocationManager instead of the FusedLocationProviderClient (Android only).

Internally the Geolocator will check if Google Play Services are installed on the device. If they are not installed the Geolocator plugin will automatically switch to the LocationManager implementation. However if you want to force the Geolocator plugin to use the LocationManager implementation even when the Google Play Services are installed you could set this property to true.

Implementation

final bool forceAndroidLocationManager;