Send Ocamba location updates and trigger events such as push notifications when an install enters the location region.
Ocamba requires location permission.
Location update from app
Location updates can be configured based on the specific use case of your app.
It’s important to take into consideration the accuracy of the location, as well as, battery usage.
All the set up information can be found in the Android developer guide.
OcambaHoood.trackLocation(location);
Location update from Ocamba SDK
Ocamba SDK can do location tracking for you.
Location tracking is used only when the app is active and forwards latitude and longitude information for every minute you spent in the app.
Location permission is required for this feature to work.Keep in mind that location tracking is disabled by default.
OcambaHoood.trackLocation().init();
NOTE: required permissions: android.permission.ACCESS_FINE_LOCATION android.permission.ACCESS_BACKGROUND_LOCATION android.permission.ACCESS_COARSE_LOCATION
Your feedback helps us improve our docs.