Skip to content

AdamMachera/cordova-plugin-hockeyapp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-hockeyapp

This plugin exposes the HockeyApp SDK for iOS and Android

Including:

  • HockeyAppSDK-iOS 3.8.5
  • HockeyAppSDK-Android 3.5.0

Installation

cordova plugin add cordova-plugin-hockeyapp

Supported Platforms

  • Android
  • iOS

Methods

Initialize HockeyApp SDK

hockeyapp.start(success:function, error:function, appId:string, autoSend:boolean, ignoreDefaultHandler:boolean, loginMode:int, appSecret:string):void

When specifying the loginMode, it is recommended that you use the hockeyapp.loginMode enumeration. Available values are:

  • ANONYMOUS: The user will not be prompted to authenticate.
  • EMAIL_ONLY: The user will be prompted to specify a valid email address. You must also pass your appSecret when using this mode.
  • EMAIL_PASSWORD: The user will be prompted for a valid username/password combination.
  • VALIDATE: The user will not be prompted to authenticate, but the app will try to validate with the HockeyApp service.

Important: For iOS devices only ANONYMOUS is available, other modes will produce an error.

Display tester feedback user interface

hockeyapp.feedback(success:function, error:function):void

Check for a new version

hockeyapp.checkForUpdate(success:function, error:function):void

Force an app crash

hockeyapp.forceCrash():void

Can be used to test the crash reporting feature of HockeyApp.

Add arbitrary metadata to a crash

hockeyapp.addMetaData(success:function, error:function, data:object):void

Will be displayed in crash reports in HockeyApp.

About

cordova plugin for hockeyapp (ios & android)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 82.8%
  • Objective-C 16.0%
  • Other 1.2%