react-native-bugbattle-sdk

In-App Bug Reporting and Testing for Apps. Learn more at https://www.bugbattle.io

Usage no npm install needed!

<script type="module">
  import reactNativeBugbattleSdk from 'https://cdn.skypack.dev/react-native-bugbattle-sdk';
</script>

README

React Native BugBattle

The BugBattle SDK for React Native is the easiest way to integrate BugBattle into your apps!

Docs & Examples

Checkout our documentation for full reference.

Installation

Open a terminal window and navigate to the root.

Install via npm

$ npm install react-native-bugbattle-sdk --save

iOS installation

Navigate to your iOS project folder within the terminal and update the cocoapods by typing

pod install

Initialize BugBattle SDK

Import the BugBattle SDK by adding the following import inside one of your root components.

import BugBattle from 'react-native-bugbattle-sdk';

In addition, you need to call the initialization function to initialize the Bugbattle SDK. Make sure that the initialization method gets called only once (i.e. by using useEffect).

BugBattle.initialize('YOUR_API_KEY', BugBattle.SHAKE);

Your API key can be found in the project settings within BugBattle. Possible values for the activation method are BugBattle.NONE and BugBattle.SHAKE.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

See license file for more informations.