Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

instabug-sdk

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    instabug-sdk

the famous in-app bug reporting tool web sdk


Version published
Weekly downloads
0
Maintainers
1
Install size
260 kB
Created
Weekly downloads
 

Readme

Source

Instabug web SDK 1.2.1-beta

Overview

Instabug web sdk is a javascript library provides an easy way to report bugs from your website or webapp.

To use the sdk you need to have application_token, you can get it from your Instabug Dashboard

Installation

Requirements

Instabug Web SDK requires no special requirements, and has no dependecies on other liberaries or frameworks, and has been tested in all modern browsers with LocalStorage capability

Manual Installation

You can include instabug web sdk to your website just copy the below lines into the end of your page <body> tag

<script src='https://s3.amazonaws.com/instabug-pro/sdk_releases/instabugsdk-1.2.1-beta.min.js'></script>

You can install the SDK using

bower install instabug-sdk --save
npm installation

You can install the SDK using

npm install instabug-sdk --save

Initialize the SDK

After including the sdk js file, you can start it by invoke the .init() method and pass the application token as parameter

<script>
  ibgSdk.init({
     token: <INSTABUG_APP_TOKEN>
  });
</script>

API Refrence

.init(options)

the init function is used to used to initialize the SDK and render the report bug button.

Parameters

options: Object required - pass the application token

.disable()

used to hide the report bug button

.enable()

used to show the report bug button

.invoke()

show the report bug view without clicking on the report bug button,

  • You can use this function to start the reporting bug process programmatically from your own script, By run ibgSdk.invoke() after initialize the sdk
.dismiss()

cancel annotations and close all instabug sdk windows

Keywords

FAQs

Last updated on 05 Oct 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc