pjamm-plugin-geolocation

Foreground and Background Geolocation Plugin

Usage no npm install needed!

<script type="module">
  import pjammPluginGeolocation from 'https://cdn.skypack.dev/pjamm-plugin-geolocation';
</script>

README

pjamm-plugin-geolocation

Foreground and Background Geolocation Plugin

Install

npm install pjamm-plugin-geolocation
npx cap sync

API

getLocation(...)

getLocation(options?: any) => any
Param Type
options any

Returns: any


startLocation(...)

startLocation(options?: any) => void
Param Type
options any

stopLocation()

stopLocation() => void

enableBackgroundTracking()

enableBackgroundTracking() => void

disableBackgroundTracking()

disableBackgroundTracking() => void