fix node not loading correct env files

This commit is contained in:
heyethereum
2024-08-03 10:29:35 +08:00
parent 28f6ab3553
commit 1fdfd94baf
30 changed files with 180 additions and 155 deletions

8
index.js Normal file
View File

@@ -0,0 +1,8 @@
import { registerRootComponent } from 'expo';
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,
// the environment is set up appropriately
registerRootComponent(App);