![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@coreo/ionic-background-tracking
Advanced tools
Ionic 2+ module for tracking a users location.
cordova plugin add https://github.com/transistorsoft/cordova-background-geolocation.git#2.11.0 --save
yarn add @coreo/ionic-background-tracking
Import the module in your app.module.ts
;
import { CoreoBackgroundTrackingModule } from '@coreo/ionic-background-tracking';
...
@NgModule({
imports: [
...
CoreoBackgroundTrackingModule
...
]
})
export class AppModule {}
CoreoBackgroundTracking
serviceInject the service into your component;
import { CoreoBackgroundTracking } from '@coreo/ionic-background-tracking';
@Component()
export class MyComponent() {
constructor(private geoService: CoreoBackgroundTracking) {}
}
startTracking()
- Enables location tracking. Returns an observable which emits the position of the device. Emitted position objects conform to the CoreoBackgroundTrackingPosition
interface.stopTracking()
- Disables location tracking.getCurrentLocation
- Retrieves the current position of the device using maximum power and accuracy. Returns a promise which is resolved with an object conforming to the CoreoBackgroundTrackingPosition
interface.setConfig(config: ConfigurationOptions)
- Sets the config to be used by the cordova-background-geolocation
plugin. See the cordova-background-geolocation API documentation for a list of config options that can be set.setCurrentPositionOptions(opts: CurrentPositionOptions)
- Sets the options to be used by getCurrentPosition()
function included in the cordova-background-geolocation
plugin. See the cordova-background-geolocation API documentation for a list of options that can be set.isTracking: boolean
- Flag indicating whether location tracking is currently enabled.CoreoBackgroundTrackingPosition
CurrentPositionOptions
ConfigurationOptions
FAQs
Ionic 2+ module for tracking a users location
The npm package @coreo/ionic-background-tracking receives a total of 1 weekly downloads. As such, @coreo/ionic-background-tracking popularity was classified as not popular.
We found that @coreo/ionic-background-tracking demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.