Bugbattle for ReactNative is distributed through npm. Open a terminal window and navigate to the project root. Now run the following command:
npm install react-native-bugbattle-sdk --save
Navigate to your iOS project folder within the terminal and update your cocoapods by running the following command:
The BugBattle SDK is almost installed successfully. Let's carry on with the initialization 🎉
Import the BugBattle SDK by adding the following import inside your
import BugBattle from 'react-native-bugbattle-sdk';
Add the following auto configuration method to your
index.js file or anywhere else at startup. It's important to run the auto configuration only once.
You are all set now! Run the app and report your first bug 🎉.
We are here to help! [email protected]