com.instabug.phonegap

0.1.6 • Public • Published

instabug-cordova-plugin

NPM version

Offers an easy Instabug (https://instabug.com) integration in your cordova projects.

Installation

cordova plugin add com.instabug.phonegap --save

Usage

instabug.init(CONFIG);

instabug.invoke();

instabug.invokeBugReporter();

instabug.invokeFeedbackSender();

Configuration

Configuration can be passed in init function and reflects Instabug API reference (https://instabug.com/public/ios-api-reference/hierarchy.html).

The options are:

Option Value Required Description
iosToken String true The token that identifies the app, you can find it on your dashboard
barBackground String The header background and buttons font color
barForeground String The buttons background and the header font color
buttonsColor String The buttons background color
buttonsFontColor String The buttons font color
bugHeaderText String The text displayed in the header and the action sheet representing bug reports
feedbackHeaderText String The text displayed in the header and the action sheet representing feedback reports
appLocale String The locale used to display the strings in the correct language. Check list below.
emailEnabled Boolean Sets the default value of whether to ask the user for an email or not
emailRequired Boolean Sets the value of whether the email field is required or not
showTutorial Boolean Sets the default value of the tutorial alert, that gets shown on launching the first bug report

Locales

Available values are :

IBGLocaleArabic, IBGLocaleChineseSimplified, IBGLocaleChineseTraditional, IBGLocaleEnglish, IBGLocaleFinnish, IBGLocaleFrench, IBGLocaleGerman, IBGLocaleItalian, IBGLocaleJapanese, IBGLocaleKorean, IBGLocalePolish, IBGLocalePortuguese, IBGLocalePortugueseBrazil, IBGLocaleRussian, IBGLocaleSlovenian, IBGLocaleSpanish, IBGLocaleSwedish, IBGLocaleTurkish

Readme

Keywords

Package Sidebar

Install

npm i com.instabug.phonegap

Weekly Downloads

1

Version

0.1.6

License

ISC

Last publish

Collaborators

  • vogloblinsky
  • vogloblinsky-sii