Open JAisonsudha opened 2 months ago
import NativeDevSettings from 'react-native/Libraries/NativeModules/specs/NativeDevSettings'
Assign this to a dev-only button or useEffect call :
const connectToRemoteDebugger = () => {
NativeDevSettings.setIsDebuggingRemotely(true);
};
I used this in my App.tsx file in a useEffect
useEffect(() => {
connectToRemoteDebugger();
},[])
`
how to enable Remote Js In my emulator ,and i doesn't have remote js options in my emulator