If you update
implementation 'com.google.android.gms:play-services-location:20.0.0'
to
implementation 'com.google.android.gms:play-services-location:21.0.0'
The lib crash on checkLocationSetting(), specifically:
SettingsClient client = LocationServices.getSettingsClient(context);
Task<LocationSettingsResponse> task = client.checkLocationSettings(builder.build());
when executing client.checkLocationSettings this exception occurs:
Found interface com.google.android.gms.location.SettingsClient, but class was expected (declaration of 'com.google.android.gms.location.SettingsClient'
With version 20 it works fine
If you update
to
The lib crash on
checkLocationSetting(), specifically:when executing
client.checkLocationSettingsthis exception occurs:With version 20 it works fine