React hook that resolves as soon as the emulator detection result is known.
Compatibility:
function IsEmulatorCallout() { const { result: emulator } = useIsEmulator(); return emulator ? <Text>Running on emulator</Text> : null;} Copy
function IsEmulatorCallout() { const { result: emulator } = useIsEmulator(); return emulator ? <Text>Running on emulator</Text> : null;}
React hook that resolves as soon as the emulator detection result is known.
Compatibility:
