in some places onLocationUpdated never triggers
Opened this issue · 0 comments
mona-baharlou commented
My code is :
LocationParams.Builder builder = new LocationParams.Builder()
.setAccuracy(trackingAccuracy)
.setDistance(trackingDistance)
.setInterval(interval);
LocationGooglePlayServicesWithFallbackProvider provider =
new LocationGooglePlayServicesWithFallbackProvider(this);
SmartLocation smartLocation = new SmartLocation.Builder(this).logging(true).build();
smartLocation.location(provider).continuous()
.config(builder.build()).start(this);
smartLocation.activity().start(this);
In most places it works correctly, but in some places onLocationUpdated never trigger.
Is there anyway to check why it's not triggered?