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.
cordova plugin add instabug-cordova
ionic cordova plugin add instabug-cordova
- Add the following snippet to your
index.js
file insideonDeviceReady
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.
- User steps.
- Repro steps.
- Network logging.
- View hierarchy.
- Crash reporting.
- Push notification for in-app messaging.
This software is released under the Apache 2.0 License.
© 2022 Instabug. All rights reserved.