$ cordova plugin add com.streethawk.plugin
Streethawk phonegap plugin can be integrated in applications created using cordova phonegap. The plugin supports both Android and iOS. For detailed information and API documentation, please refer to Streethawk Phonegap documentation.
Assuming you have an application created using Phonegap, you can integrate Streethawk SDK by following simple steps mentioned below.
In terminal, browse to root folder of your cordova phonegap application
Add streethawk plugin by running command
cordova plugin add https://github.com/streethawkphonegap/StreethawkPlugin.git --variable APP_KEY=<YOUR_APPLICATIONS_APP_KEY>
Please note that, above command requires unique app_key of your application registered with Streethawk. If you dont have it , you can register you application's app_key here
cordova run iOS
cordova run android
That's it!. Streethawk is integrated in your application. Please refer to Streethawk Phonegap documentation for adding more Streethawk features.