Socket
Socket
Sign inDemoInstall

instabug-cordova

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

instabug-cordova

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 interfacing with the SDK through JavaScript.


Version published
Weekly downloads
158
increased by31.67%
Maintainers
1
Weekly downloads
 
Created
Source

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

Currently, this plugin can only be installed via the Command-Line Interface.

cordova plugin add instabug-cordova
Ionic

If you're using this plugin with Ionic, you can install using this command.

ionic cordova plugin add instabug-cordova

Usage

  1. You can initialize the SDK by using this method in your JS class
cordova.plugins.instabug.activate(
    {
        token: 'MY_TOKEN'
    },
    'shake',
    function () {
        console.log('Instabug initialized.');
    },
    function (error) {
        console.log('Instabug could not be initialized - ' + error);
    }
);

You can change the invocation event with any of the following: 'button', 'screenshot', 'swipe', or 'shake'.

  1. Make sure the following snippet is added to your project level build.gradle, if not you can manually add it as follows:.
allprojects {
	repositories {
	    maven {
	        url "https://sdks.instabug.com/nexus/repository/instabug-cp"
	    }
	}
}
Ionic

If you're using this plugin with Ionic, you need to add this line at the beginning of your app.component.ts class.

declare let cordova: any;

License

This software is released under the Apache 2.0 License.

© 2016 Instabug. All rights reserved.

FAQs

Package last updated on 07 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc