Turn on the Geolocation feature:
- Enable Geolocation for iOS if needed.
- Permission description for iOS - The permission description text should explain to the user why your app needs that permission. Refer to Apple's guidelines to avoid potential rejection.
To start using background location tracking. You need to enable a Geolocation and fill out the Permission description for iOS (If you're planning to use iOS).
- Permission description for iOS or/and Android - The permission description text should explain to the user why your app needs that permission. Refer to Apple's guidelines and Google's guidelines to avoid potential rejection.
To make background location tracking work correctly, you need to ask the user to give Always allow permission. The system will handle that for you, but make sure you specify it in the permission description for Android. For iOS OS will ask users to allow background tracking automatically once they collapse that app.
- Webhook URL - This is your endpoint URL where we will send a user's geolocation. A few requirements for an endpoint:
- HTTPS (HTTP is not supported)
- POST method
- JSON in a body
// JSON of what you should expect to be received from a device
// Identifier that will be passed later (Check Integration for more details)
// Error can be null or string (which will contain an error message)
- Header Name & Value (Optional) - In case you have authorization on your webhook endpoint. This header will be sent to your endpoint from a device.