Open mona-baharlou opened 5 years ago
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?
My code is :
In most places it works correctly, but in some places onLocationUpdated never trigger. Is there anyway to check why it's not triggered?