Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.44 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.44 KB

react-native-devsettings

supports iOS supports Android npm npm license

Enable react-native-debugger and chrome debugger on Hermes (when __DEV__ is true)

⚠️ Are you using React Native 0.76? You don't need to install this package, check the new React Native Devtools https://reactnative.dev/docs/react-native-devtools and for Redux with expo https://github.com/matt-oakes/redux-devtools-expo-dev-plugin

Installation

npm install react-native-devsettings

or

yarn add react-native-devsettings

Usage

Add the following line to your App.tsx file

import "react-native-devsettings";
// OR if you are using AsyncStorage
import "react-native-devsettings/withAsyncStorage";

Execute cmd+d or cmd+m on your simulator/emulator and select (*) Debug JS Remotely

Example