1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-29 12:33:10 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Update app.json to include package name, modify index.js to use expo-router, and upgrade dependencies in package.json for improved compatibility and features.

This commit is contained in:
sunnylqm
2025-10-19 17:40:18 +08:00
parent da21c99bcc
commit d726f3602b
4 changed files with 687 additions and 457 deletions

View File

@@ -1,8 +1 @@
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);
import 'expo-router/entry';