The Herow SDK allows your app to connect to the Herow platform.
The documentation is available for both platform.
You will learn to simulate your zone's entries or exits
Note: Prerequisites: You are supposed to have already configured the SDK. To do this, please refer to 5 minQuickstart You can refer to our dedicated tutorial
Copy the hash of the zone you want to test
@Override
public void onCreate() {
int delay = 10000; // start emitting (entry) after 10 000 milliseconds
int stopdelay = delay + 10000; // stop emitting (exit) after 10 000 milliseconds after the entry
HerowDetectionManager instance = HerowDetectionManager.getInstance();
instance.emit("my zone hash", delay);
instance.stopEmittingIn(stopdelay);
}
Install the application
Accept the location permission and notification permission
Close your application or leave it running in the background
Wait the delay you had specified.
A notification should appear
Note:
To increase the efficiency of the Mock System , make sure that the campagn has geodetection set to off in the app settings section on Herow dashboard to avoid interferences between mock and real system.