The repository hosts Phonegap plugin of StreetHawk SDK's Beacon module. The plugin is required if you wish to run campaigns based on your application user entering or exiting a Beacon region.
Add Beacon plugin by running the below command.
$ cd <APPLICATION_DIRECTORY>
$ cordova plugin add streethawkbeacon
Note that beacon plugin requires StreetHawk Analytics plugin which can be added by running the below mentioned command
cordova plugin add streethawkanalytics --variable APP_KEY=<YOUR_APPLICATIONS_APP_KEY> --variable URL_SCHEME=<URL_SCHEME_OF_APP>
Replace YOUR_APPLICATIONS_APP_KEY with app_key registered with StreetHawk for your application and URL_SCHEME_OF_APP with deeplinking scheme of your application.
Click here for detailed documentation of StreetHawk's Beacon plugin.