0.1.6 • Published 9 years ago

com.instabug.phonegap v0.1.6

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

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:

OptionValueRequiredDescription
iosTokenStringtrueThe token that identifies the app, you can find it on your dashboard
barBackgroundStringThe header background and buttons font color
barForegroundStringThe buttons background and the header font color
buttonsColorStringThe buttons background color
buttonsFontColorStringThe buttons font color
bugHeaderTextStringThe text displayed in the header and the action sheet representing bug reports
feedbackHeaderTextStringThe text displayed in the header and the action sheet representing feedback reports
appLocaleStringThe locale used to display the strings in the correct language. Check list below.
emailEnabledBooleanSets the default value of whether to ask the user for an email or not
emailRequiredBooleanSets the value of whether the email field is required or not
showTutorialBooleanSets 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

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago