Send Location Updates - Mobile SDKs
iOS SDK
Overview
Installation
Start the SDK
Send Location Updates
iOS Webview
Shopify Checkout Kit
Licensing
Changelog
Android SDK
Android SDK Overview
Installation
Start the SDK
Send Location Updates
Android Webview
Shopify Checkout Kit
Play Store Compliance
Changelog
Send Location Updates
If your app has gained the user's location permission, you should trigger the following call on every location update.
- If your app has gained the location permission but didn't register for location updates, please register for location updates (Recommended: every 120 seconds and every 10 meters).
Once you've acquired the user's current location, pass us the Location object (android.location.Location) exactly as you've received it from the Location Manager.
You can pass us the Location object by calling the ForterSDK directly from your Location Changes Listener:
ForterSDK.getInstance().onLocationChanged()