Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.91 KB

README.md

File metadata and controls

59 lines (41 loc) · 1.91 KB

Instabug Cordova Plugin

The purpose of this plugin is to simplify the process of integrating the Instabug SDK in a hybrid application, as well as to provide an interface to interact with the SDK through JavaScript.

Instabug is a bug reporting and in-app feedback tool that provides your testers and users with easy “shake to send” feedback from within the app, to report bugs and issues easily. You’ll get attached screenshots, screen recordings, annotations, network logs to help you take insightful decisions. You’ll also receive all the device details, environment snapshots and bug reproduction steps so that you can fix bugs and iterate faster.

For more info, visit Instabug.com.

Installation

Cordova:

cordova plugin add instabug-cordova

Ionic:

ionic cordova plugin add instabug-cordova

Integration Steps

  • Add the following snippet to your index.js file inside onDeviceReady function:
var Instabug = cordova.require('instabug-cordova.Instabug');
var BugReporting = cordova.require('instabug-cordova.BugReporting');

Instabug.start(
    'YOUR_CORDOVA_TOKEN',
    [BugReporting.invocationEvents.button],
    function () {
        console.log('Instabug initialized.');
    },
    function (error) {
        console.log('Instabug could not be initialized - ' + error);
    }
);
  • Replace YOUR_CORDOVA_TOKEN with your application token.

⚠️ If you're updating the SDK from versions prior to v11, please check our migration guide.

Features Not Yet Supported

  • User steps.
  • Repro steps.
  • Network logging.
  • View hierarchy.
  • Crash reporting.
  • Push notification for in-app messaging.

License

This software is released under the Apache 2.0 License.

© 2022 Instabug. All rights reserved.