Android​

  • Devices running Android API 29 or later need background location permission, so the user must choose "Allow all the time" for the geofence API to work.
  • On single-user devices, there is a limit of 100 geofences per app. For multi-user devices, the limit is 100 geofences per app per device user.
  • On Android 8.0 (API level 26) and higher, if an app is running in the background while monitoring a geofence, then the device responds to geofencing events every couple of minutes.
  • Users must turn on both WiFi, mobile network, and Google location accuracy for the geofence API to work as intended.
  • When your app is running in the background on Android 8+, your app still receives updates in batches a few times every hour.
.

Further Information​

More information terms of device battery optimization can be found here.

.

iOS​

  • Only the last 20 active locations in the current city can be used.
  • iOS does not support fake GPS servers, and so, Mapp uses .gpx files to simulate fake GPS locations. Details: ​Create a .gpx file and add it to a project​
  • Push notifications are not sent if the user lacks an available network.
  • Apps can expect a notification when the device moves 500 meters or more from its previous notification. Notifications are not sent more frequently than once every five minutes.
  • If the device is able to retrieve data from the network, the Location Manager is much more likely to deliver notifications in a timely manner. For more details, see here.
  • Popup specifications for allow location depend on the device version. The location must always be allowed. Additional notes are in the following table.
.

Version

Pop-Up

Comment

iPhone X

Software version 13.5.1

1. ​Allow While Using App ​

2. ​Allow once ​

3. ​Don't allow​

The user should find the application in ​Settings​, go to the ​Location​, and choose ​Always​ as a possibility.

iPhone 6

Software version 12.4.6

1. ​Only While Using the App​

2. ​Always Allow ​

3. ​Don't allow​

It is sufficient to click ​Always Allow​ on the popup (if ​Always Allow​ is not picked, the push notifications will not be delivered until the user goes to device settings and activates ​Always​ in application location settings).


.

Create a .gpx file and add it to a project​

  1. Download Google Earth Pro

  2. Use the tool ruler to create a detailed route. For details and steps for creating a .gpx file, see https://www.starpath.com/gpx/.

  3. Download the .gpx file, and add it to the XCode project which you use for testing Geo.

.