Ionic 4 Geolocation / GeoFencing

Has anyone setup a geolocation app that successfully runs in the background on both iOS and Android?

Were not making an Uber or Lyft, but we need to track vehicle location in a similar fashion.

Curious about any issues the web wrapper make cause. In the past I’ve encountered issues were the native os will kill the app while it’s in the background.

Thoughts? Can anyone recommend a geofencing service to aid this process? Has anyone implemented a suitable solution with Firebase?