This plugin supports PhoneGap/Cordova apps running on both iOS and Android.
This plugin is meant to work with Cordova 3.5.0+ and the latest version of the HockeyApp library.
SDK documentation and integration guides for IOS and Android:
http://support.hockeyapp.net/kb/client-integration-ios-mac-os-x/hockeyapp-for-ios
http://support.hockeyapp.net/kb/client-integration-android-other-platforms/hockeyapp-for-android-sdk
TODO - update plugin to latest SDK versions
-
Make sure you update your projects to Cordova iOS version 3.5.0+ before installing this plugin.
cordova platform update ios cordova platform update android
-
Install this plugin using PhoneGap/Cordova cli:
cordova plugin add https://github.com/wnyc/cordova-plugin-hockeyapp.git
-
For iOS, modify HockeyAppPlugin.m, replacing with your configuration setting:
NSString * hockeyAppKey = @"__HOCKEY_APP_KEY__";
For Android, modify HockeyAppPlugin.java, replacing with your configuration setting:
String hockeyAppId="__HOCKEY_APP_KEY__";
Todo: better way to turn update check on/off (Android only) than having build script comment out code between HOCKEY_APP_UPDATE_ACTIVE_START and HOCKEY_APP_UPDATE_ACTIVE_END in HockeyAppPlugin.java
Todo: pull GA key from configuration setting