This is a hybrid, mobile phone application that tracks the geolocation of the user.
- Ionic Capacitor
- Next.js
- React Bootstrap
- React Leaflet
- Background Geolocation Plugin
- Local Notifications Plugin
The app is able to:
- Detect the change of the geolocation of the user, even when the app is in the background
- Pinpoint the location on a map
- Draw a polyline that connects all the location points the user has been to
Make sure you have Node.js and Capacitor CLI installed. Download the project or clone by typing:
git clone https://github.com/monaca-samples/Background-Geolocation-Tracking.git
Open a native project either on Android Studio or Xcode by typing:
npx cap open ios/android
Build the project and run it on a mobile device or emulator.