Ionic: background geolocation
问题 I'm using Ionic & Firebase to create an Android application for geolocation. I used ngCordova.geolocation and I successfully get the device current location. My problem is that I need to continuously get current location, as long as the user doesn't turn off geolocation and callback a function every time the geolocation change, and test if the user is inside one of many circles in the maps. 回答1: Since you are already using the ngcordova.geolocation plugin, it has a method to keep tracking the