Skip to content
Streethawk edited this page Jan 13, 2015 · 1 revision

PhonegapDemoApp

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.

Steps for using the application

  1. Clone the source code hosted in this repository
  2. Add iOS platform using command
    cordova platform add ios

3 Similarly add Android platform using command

   cordova platform add android
  1. Add streethawk plugin using command
  cordova plugin add https://github.com/streethawkphonegap/StreethawkPlugin.git --variable APP_KEY=MyFirstApp

where MyFirstApp is app_key registered with Streethawk servers

5 Run the application using command

  • ios
    cordova run ios
  • Android
    cordova run Android

Streethawk plugin documentation

For details about Streethawk's plugin, please refer to plugin documentation.

Support

For further information please contact us at support@streethawk.com