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

Not working on Android 6.0 #42

Closed
ivosabev opened this issue Feb 23, 2017 · 1 comment
Closed

Not working on Android 6.0 #42

ivosabev opened this issue Feb 23, 2017 · 1 comment

Comments

@ivosabev
Copy link

ivosabev commented Feb 23, 2017

The same code works on Android 5.0.

When started on 6.0 it says that location updates have started, but no the on('location') and on('stationary' handlers are not called. In debug mode, no beeps or any toast messages. No error messages in logcat.

My sample config is:

BackgroundGeolocation.configure({
    desiredAccuracy: 0,
    stationaryRadius: 10,
    distanceFilter: 30,
    locationTimeout: 30,
    notificationTitle: '',
    notificationText: '',
    debug: true,
    startOnBoot: false,
    stopOnTerminate: false,
    locationProvider: BackgroundGeolocation.provider.ANDROID_ACTIVITY_PROVIDER,
    interval: 10000,
    fastestInterval: 5000,
    activitiesInterval: 15000,
    stopOnStillActivity: false,
  });
@ivosabev
Copy link
Author

Started working after restart, very weird.

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