Geofence
Ocamba requires location permission for this feature to work, so the user developer needs to ask for it.
To support geofences for iOS:
Your integration must support background push notifications.
OcambaHoood Geofences must be enabled through the SDK. They are not enabled by default.
OcambaBuilder(apiKey: "activation-code").geofence().push().build()
Notify Ocamba on geofence event:
OcambaHoood.sendLocationEnter(region:CLRegion)
Notify Ocamba on geofence event:
OcambaHoood.sendLocationLeft(region:CLRegion)