Skip to content

groupe-sii/instabug-cordova-plugin

 
 

Repository files navigation

instabug-cordova-plugin

NPM version

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

SDK Version

  • iOS : 1.7
  • Android : 1.7

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
androidToken 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

About

Offers an easy Instabug integration in your cordova projects.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 62.6%
  • Java 28.5%
  • JavaScript 8.9%