react-native-nitro-modules
Version:
Insanely fast native C++, Swift or Kotlin modules with a statically compiled binding layer to JSI.
12 lines (11 loc) • 414 B
JavaScript
;
import { Platform } from 'react-native';
export const NitroModules = new Proxy({}, {
get: () => {
throw new Error(`Native NitroModules are not available on ${Platform.OS}! Make sure you're not calling getNativeNitroModules() in a ${Platform.OS} (.${Platform.OS}.ts) environment.`);
}
});
export function isRuntimeAlive() {
return false;
}
//# sourceMappingURL=NativeNitroModules.web.js.map