GithubHelp home page GithubHelp logo

Comments (4)

mauron85 avatar mauron85 commented on August 15, 2024

Thanks, will check it out on sampleApp.

from cordova-plugin-background-geolocation.

mauron85 avatar mauron85 commented on August 15, 2024

Hmm strange, just checked it on iPhone 6 and iOS 9.2 and location updates stopped on app terminate (GPS icon disappeared)

Can you run your cordova app from terminal?

$ cordova run ios --device

And observe output while terminating app. You should see 'CDVBackgroundGeoLocation stoping on terminate' meaning your app will listen to location updates in the background.

2016-01-25 16:41:31.615 Cordova Background GeoLocation[1184:562473] - CDVBackgroundGeoLocation appTerminate
2016-01-25 16:41:31.617 Cordova Background GeoLocation[1184:562473] - CDVBackgroundGeoLocation stoping on terminate

EDIT: Also try sample app if it works for you there-

from cordova-plugin-background-geolocation.

anna-sunberg avatar anna-sunberg commented on August 15, 2024

I tested this some more and I see now that this doesn't happen every time. After an uninstall it took me maybe 10-20 tries to get it stuck again (I was debugging another issue). But when it does get stuck, it stays there through all app updates via Xcode and reboots, that's why I thought at first that it was always there.

Right now I quit the app maybe 3 hours ago and I'm getting occasional "MOVING" notifications while sitting at the dinner table :)

I will try to monitor the console for this message, when I debug again tomorrow.

from cordova-plugin-background-geolocation.

anna-sunberg avatar anna-sunberg commented on August 15, 2024

I think this was some kind of a glitch. Luckily it stopped reproducing on both of my phones after complete wipe.

from cordova-plugin-background-geolocation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.