Re-enable fetch monkey-patch (#2036)

* Re-enable fetch monkey-patch

* Reorder
zio/stable
Eric Bailey 2023-11-29 18:00:13 -06:00 committed by GitHub
parent 4b3ec54add
commit 3ca4bd805a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View File

@ -3,10 +3,12 @@ import 'react-native-gesture-handler' // must be first
import {LogBox} from 'react-native'
LogBox.ignoreLogs(['Require cycle:']) // suppress require-cycle warnings, it's fine
import 'platform/polyfills'
import '#/platform/polyfills'
import {registerRootComponent} from 'expo'
import {doPolyfill} from '#/lib/api/api-polyfill'
doPolyfill()
import App from './src/App'
import App from '#/App'
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,

View File

@ -1,4 +1,7 @@
import 'platform/polyfills'
import '#/platform/polyfills'
import {registerRootComponent} from 'expo'
import App from './src/App'
import {doPolyfill} from '#/lib/api/api-polyfill'
import App from '#/App'
doPolyfill()
registerRootComponent(App)