cordova plugin for hockeyapp (ios & android)
Перейти к файлу
microsoft-github-policy-service[bot] dace18641a
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2023-06-13 17:53:42 +00:00
src update HockeyApp IOS SDK to 3.8.5 and remove bitcode warning as this version of the sdk supports bitcode 2016-01-26 17:33:05 -08:00
www Merge branch 'master' into expose-crashmanagerlistener 2015-11-23 14:18:05 -08:00
LICENSE init plugin (only iOS is implemented) 2014-03-27 16:54:12 +01:00
README.md update HockeyApp IOS SDK to 3.8.5 and remove bitcode warning as this version of the sdk supports bitcode 2016-01-26 17:33:05 -08:00
SECURITY.md Microsoft mandatory file 2023-06-02 21:26:06 +00:00
package.json 2.0.1 2016-01-22 15:12:36 +01:00
plugin.xml update HockeyApp IOS SDK to 3.8.5 and remove bitcode warning as this version of the sdk supports bitcode 2016-01-26 17:33:05 -08:00

README.md

cordova-plugin-hockeyapp

This plugin exposes the HockeyApp SDK for iOS and Android

Including:

  • HockeyAppSDK-iOS 3.8.2
  • 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: Only ANONYMOUS is available for iOS devices, 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

Add arbitrary metadata to a crash, which will be displayed in crash reports:

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