Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
instabug-cordova
Advanced tools
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.
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.
Currently, this plugin can only be installed via the Command-Line Interface.
cordova plugin add https://github.com/Instabug/instabug-cordova
To initialize Instabug in your app, you need to do the following:
Change the name of the application class in your manifest file to android:name="com.instabug.cordova.plugin.MyApplication"
.
You need to add your app token in the MyApplication class, by replacing YOUR_ANDROID_TOKEN
. (You can find this class under this path YourProjectName/plugins/com.instabug.cordova.plugin/src/android/MyApplication.java
)
You can change the invocation event by changing this line InstabugInvocationEvent.SHAKE
in the MyApplication class to any of the following:
InstabugInvocationEvent.FLOATING_BUTTON
, InstabugInvocationEvent.SCREENSHOT_GESTURE
, InstabugInvocationEvent.TWO_FINGER_SWIPE_LEFT
, or InstabugInvocationEvent.NONE
.
You can initialize the SDK by using this method in your JS class
cordova.plugins.instabug.activate(
{
ios: 'MY_IOS_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'
.
This software is released under the Apache 2.0 License.
© 2016 Instabug. All rights reserved.
FAQs
Cordova plugin for integrating the Instabug SDK.
The npm package instabug-cordova receives a total of 152 weekly downloads. As such, instabug-cordova popularity was classified as not popular.
We found that instabug-cordova demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.