1 | import Constants from 'expo-constants'; // eslint-disable-line @babel/no-unused-expressions
|
2 | import {
|
3 | // React Native's internal InitializeCore module sets up `window` but runs only when its React
|
4 | // renderer is loaded. We can cause this by loading one of its dependents.
|
5 | findNodeHandle, } from 'react-native';
|
6 | import { shouldThrowAnErrorOutsideOfExpo } from './validatorState';
|
7 | findNodeHandle; // eslint-disable-line @babel/no-unused-expressions
|
8 | if (shouldThrowAnErrorOutsideOfExpo() && (!Constants || !Constants.expoVersion)) {
|
9 | throw new Error(`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.`);
|
10 | }
|
11 | //# sourceMappingURL=validate.fx.js.map |
\ | No newline at end of file |