@Override
public void onResult(@NonNull Result result) {
Log.e(TAG, String.format("Error adding/removing geofence : %s",
result.getStatus().toString()));
}
I am not sure why are we logging this as error by default. Is'nt it just a callback informing on the result of registration/unregistration? - not necesarilly saying that the operation must have failed.
Looking at the logs now, I am actually get success:
E/Geofencing: Error adding/removing geofence : Status{statusCode=SUCCESS, resolution=null}
I am not sure why are we logging this as error by default. Is'nt it just a callback informing on the result of registration/unregistration? - not necesarilly saying that the operation must have failed. Looking at the logs now, I am actually get success:
E/Geofencing: Error adding/removing geofence : Status{statusCode=SUCCESS, resolution=null}