
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
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.
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
Change the name of the application class in your AndroidManifest.xml 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/platforms/android/app/src/main/java/com.instabug.cordova.plugin/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
.
build.gradle
, if not you can manually add it as follows:.allprojects {
repositories {
maven {
url "https://sdks.instabug.com/nexus/repository/instabug-cp"
}
}
}
⚠️ Starting from Instabug-Cordova v9, we require the compileSdkVersion
to be set to a minimum of 29
. It can be set inside the app's build.gradle
file as below:
android {
compileSdkVersion 29
}
You can initialize the SDK by using this method in your App JS file.
cordova.plugins.instabug.activate(
{
ios: 'MY_IOS_TOKEN'
},
'shake',
{
commentRequired: true,
colorTheme: 'light'
},
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'
.
⚠️ TypeScript users, make sure you declare cordova
at the beginning of your app class (app.component.ts):
declare let cordova: any;
This software is released under the Apache 2.0 License.
© 2016 Instabug. All rights reserved.
v9.1.7 (2021-05-11)
v9.1.7
v9.1.8
android:requestLegacyExternalStorage
attribute on AndroidFAQs
Cordova plugin for integrating the Instabug SDK.
The npm package instabug-cordova receives a total of 28 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.