Awareness.SnapshotApi.getLocation(client)
.setResultCallback(new ResultCallback<LocationResult>() {
@Override
public void onResult(@NonNull LocationResult locationResult) {
if (locationResult.getStatus().isSuccess()) {
}
}
}).addOnFailureListener(new OnFailureListener() {
@Override
public void onFailure(@NonNull Exception e) {
String error = e.getMessage();
}
com.google.android.gms.common.api.ApiException: 17: API: ContextManager.API is not available on this device.
I am receiving this error on as an exception for when running the app on a Android 9 essential phone, but no exception when running on Android 8 Samsung s8.
I have updated to the latest 16.0.0 awareness package.