PhonegapDemoApp is an application to demonstrate integration and usage of Streethawk plugin.
StreetHawk is a mobile engagement automation library for your smartphone and tablet Apps. Engage users in the right time using push notification, emails and sms, segment your user base, create geofences to trigger location based campaigns, analyse results and measure campaign performance. StreetHawk supports iOS and Android devices.
- Clone the source code hosted in this repository
- Add iOS platform using command
cordova platform add ios
3 Similarly add Android platform using command
cordova platform add android
- Add streethawk plugin using command
cordova plugin add streethawkanalytics --variable APP_KEY=MyFirstApp --variable URL_SCHEME="<URL_SCHEME_OF_APP>"
where MyFirstApp is app_key registered with Streethawk servers.
5 Run the application using command
- ios
cordova run ios
- Android
cordova run Android
For details about Streethawk's plugin, please refer to plugin documentation.
For further information please contact us at [email protected]