Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
instabug-reactnative
Advanced tools
This section explains how to install Instabug SDK into your React Native application.
npm install instabug-reactnative
react-native link instabug-reactnative
pod 'Instabug', '~> 7.0'
4.Then run the following command (You can skip this step if you are building an Android app only).
pod install
CocoaPods will download and install the SDK and add all the required dependencies into your ios project.
index.ios.js
and index.android.js
file.import Instabug from 'instabug-reactnative';
constructor
or componentWillMount
. This line will let the Instabug SDK work with the default behavior. The SDK will be invoked when the device is shaken. You can customize this behavior through the APIs (You can skip this step if you are building an Android app only).Instabug.startWithToken('IOS_APP_TOKEN', Instabug.invocationEvent.shake);
android/app/src/main/java/[...]/MainApplication.java
You should find the getPackages method looks like the following snippet. You just need to add your Android app token (You can skip this step if you are building an iOS app only).@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new RNInstabugReactnativePackage("ANDROID_APP_TOKEN",MainApplication.this,"shake","#1D82DC"));
}
You can find your app token by selecting the SDK tab from your Instabug dashboard.
For more details about the supported APIs and how to use them, you can check our Documentation.
If you have any questions or feedback don't hesitate to get in touch. You can reach us at any time through support@instabug.com.
This software is released under MIT License.
© 2016 Instabug. All rights reserved.
FAQs
React Native plugin for integrating the Instabug SDK
The npm package instabug-reactnative receives a total of 9,327 weekly downloads. As such, instabug-reactnative popularity was classified as popular.
We found that instabug-reactnative demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.