
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
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 12,879 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 7 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.