Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in some places onLocationUpdated never triggers #265

Open
mona-baharlou opened this issue Dec 24, 2018 · 0 comments
Open

in some places onLocationUpdated never triggers #265

mona-baharlou opened this issue Dec 24, 2018 · 0 comments

Comments

@mona-baharlou
Copy link

mona-baharlou commented Dec 24, 2018

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?

@mona-baharlou mona-baharlou changed the title implementing prividers in some places onLocationUpdated never triggers Dec 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant