@ruttl/bug-tracking
v1.0.2
Published
Welcome to the official Bug Tracking React Native component provided by [ruttl](https://ruttl.com/mobile-app-feedback/). The Bug Tracking React Native component is an open-source project, and we'd love to see your contributions!
Downloads
2
Readme
Introduction
Welcome to the official Bug Tracking React Native component provided by ruttl. The Bug Tracking React Native component is an open-source project, and we'd love to see your contributions!
Quick Start Guide
Ruttl's Bug Tracking React Native component is a re-usable component built around ruttl’s bug tracking ecosystem. Check out our official website for more in depth information.
Step 1: Installation
Under your app's root directory, run
npm install @ruttl/bug-tracking
Step 2: Add to any component
Following code snippet shows how you can use our SDK with an existing component in your current app
import React from 'react';
import { SafeAreaView, View } from 'react-native';
import BugTracking from '@ruttl/bug-tracking';
const ExistingComponent = () => {
return (
<SafeAreaView>
<View />
<BugTracking
projectID="..."
token="..."
/>
</SafeAreaView>
);
}
export default ExistingComponent;
Step 3: How to use
Once the setup is complete, please click on the floating bug icon, touch & encircle to annotate bugs, enter the description & add a ticket. You can change the highlight colour, if needed.
Props
| Name | Description | Type | Required | |-----------|----------------------------------------------|------|----------| | projectID | ID of the ruttl project | string | yes | | token | Authentication token generated by the server | string | yes |