Take your app quality and stability to the next level with the Instabug SDK for React Native
Detect bugs and release with confidence
Identify and resolve severe crashes
Improve your user experience quality
Make it easier for your beta testers and users to send feedback with Instabug's in-app user feedback and bug reporting SDK. We will automatically capture details like the network requests, repro steps, and session details to help you debug and fix issues easily.
Get real-time crash reports with stack trace details, steps to reproduce the crash, device and session data, and more. You can also reply to affected users to update them about a fix or ask for more details.
Stay on top of critical issues affecting your users' experience before they even complain. With the help of mobile-focused performance metrics, confidently prioritize between fixing issues and building new features. Don't waste time debugging and spot the exact conditions leading to performance issues.
Language:
1 - Download the SDK zip file and extract it to get the .xcframework file.
2 - Drag & drop Instabug.framework to your project's "Embedded Binaries" section under the "General" tab, and make sure that the "Copy items if needed" checkbox is checked.
3 - Import the framework in the appDelegate.
4 - Call the SDK by including this line in "application didFinishLaunchingWithOptions"
5 -If your app doesn’t already access the microphone or photo library, you’ll need to add the following 2 keys to your app’s info.plist file:
6 - Create a new "Run Script Phase" in your project’s target "Build Phases" and add the following snippet
1 - Add the following line to your "Podfile":
2 - Run pod install in your Xcode project directory. CocoaPods should download and install the SDK and all the required
3 - Import the framework in the appDelegate.
4 - Call the SDK by including this line in "application didFinishLaunchingWithOptions"
5 - If your app doesn’t already access the microphone or photo library, you’ll need to add the following 2 keys to your app’s info.plist file:
1 - To integrate Instabug into your Xcode project using Carthage, add it to your Cartfile:
2 - Run the following command:
3 - Import the framework in the appDelegate
4 - Call the SDK by including this line in "application didFinishLaunchingWithOptions"
5 - If your app doesn’t already access the microphone or photo library, you’ll need to add the following 2 keys to your app’s info.plist file:
1- Open the command line and navigate to your React Native directory. Then, run the following command.
2- Link the bridging files in the npm package to the ios project by running the following command. Make sure you have Ruby installed before running this last command.
3- To start using Instabug, import it into your "index.ios.js” and "index.android.js" file. Starting from React Native version 0.49 you can import Instabug in your App.js only.
iOS Configuration
4-Then initialize it in the constructor or componentWillMount
Android Configuration
5-Open “android/app/src/main/java/[...]/MainApplication.java”, locate the getPackages method, and add your app token which you will get upon signup.
You can also check out our API Reference for more detailed information about our SDK
In less than a minute, integrate the Instabug SDK for iOS, Android, React Native, Xamarin, Cordova, Flutter, and Unity mobile apps