react-native-xenon
v0.2.1
Published
A comprehensive tool for analyzing HTTP(S) requests and logs in React Native apps. Designed for use across all environments, it offers an intuitive interface for efficient debugging and issue resolution.
Downloads
217
Maintainers
Readme
react-native-xenon
A comprehensive tool for analyzing HTTP(S) requests and logs in React Native apps. Designed for use across all environments, it offers an intuitive interface for efficient debugging and issue resolution.
Installation
Install the Xenon with yarn
or npm
.
yarn add react-native-xenon
or
npm install react-native-xenon
Usage
Add Xenon.Component
in your app root component.
import Xenon from 'react-native-xenon';
function App() {
return (
<>
{/* Your other components here */}
<Xenon.Component />
</>
);
}
Present the debugger by calling the show
method.
Xenon.show();
And hide it by calling the hide
method.
Xenon.hide();
Props
| Prop | Type | Description |
| --------------------------- | --------- | ---------------------------------------------------------------------------------------------------------- |
| autoInspectNetworkEnabled
| boolean
| Determines whether the network inspector is automatically enabled upon initialization. Defaults to true
. |
| autoInspectConsoleEnabled
| boolean
| Determines whether the console inspector is automatically enabled upon initialization. Defaults to true
. |
| bubbleSize
| number
| Defines the size of the interactive bubble used in the UI. Defaults to 40
. |
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
This project is MIT licensed.