Toadly is a lightweight, open-source bug reporting tool for React Native applications
Toadly helps React Native developers identify and fix issues faster by providing simple bug reporting, log collection, and GitHub integration. This project is currently under active development with more features coming soon.
Simple in-app bug reporting dialog that lets users report issues directly from your app
Capture js and native logs along to provide context for bug/crash reports
Auto submit crashes along with logs, trace and session information
Automatically create GitHub issues with detailed bug reports including logs and device info
- Network request monitoring
- Custom metadata attachment
- Screenshot annotations
npm install react-native-toadly react-native-nitro-modules
# or with yarn
yarn add react-native-toadly react-native-nitro-modulescd ios && pod install && cd ..import React, { useEffect } from 'react';
import * as Toadly from 'react-native-toadly';
import { config } from './config';
// Initialize Toadly with your GitHub credentials
const { token, repoOwner, repoName } = config.github;
Toadly.setup(token, repoOwner, repoName);
export default function App() {
useEffect(() => {
// Add custom logs for better context
Toadly.log('App initialized');
return () => {
Toadly.log('App will unmount');
};
}, []);
// Show the bug reporter dialog
const handleReportBug = () => {
Toadly.show();
};
// Rest of your app code...
}Toadly.setup(token, repoOwner, repoName)- Initialize Toadly with GitHub credentialsToadly.show()- Show the bug reporting dialogToadly.log(message)- Add a custom log entry. Console logs are automatically capturedToadly.clearLogs()- Manually clear collected logsToadly.enableAutomaticIssueSubmission()- Enable automatic issue submission for JS crashesToadly.startNetworkMonitoring()- Start logging network requests to be included in reportsToadly.stopNetworkMonitoring()- Start logging network requestsToadly.isNetworkMonitoringActive()- Check network logging enabled statusToadly.clearNetworkHistory()- Manually clear network logs
Check out the example app to see Toadly in action and explore implementation details.
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with ❤️ by the Toadly team
