UNPKG

1.21 kBSource Map (JSON)View Raw
1{"version":3,"file":"validate.fx.js","sourceRoot":"","sources":["../../src/environment/validate.fx.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gBAAgB,CAAC,CAAC,mDAAmD;AAC3F,OAAO;AACL,8FAA8F;AAC9F,0EAA0E;AAC1E,cAAc,GACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,+BAA+B,EAAE,MAAM,kBAAkB,CAAC;AAEnE,cAAc,CAAC,CAAC,mDAAmD;AAEnE,IAAI,+BAA+B,EAAE,IAAI,CAAC,CAAC,SAAS,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE;IAC/E,MAAM,IAAI,KAAK,CACb,oKAAoK,CACrK,CAAC;CACH","sourcesContent":["import Constants from 'expo-constants'; // eslint-disable-line @babel/no-unused-expressions\nimport {\n // React Native's internal InitializeCore module sets up `window` but runs only when its React\n // renderer is loaded. We can cause this by loading one of its dependents.\n findNodeHandle,\n} from 'react-native';\n\nimport { shouldThrowAnErrorOutsideOfExpo } from './validatorState';\n\nfindNodeHandle; // eslint-disable-line @babel/no-unused-expressions\n\nif (shouldThrowAnErrorOutsideOfExpo() && (!Constants || !Constants.expoVersion)) {\n throw new Error(\n `Expo native runtime is not available: something went wrong and we aren't sure what it was. Please post more information and get support at https://forums.expo.io.`\n );\n}\n"]}
\No newline at end of file