Find the docs at /docs/dev-env-setup.md.
npx yarn install
npx yarn global add eas-cli
Launch Expo:
npx expo start --dev-client
or npx expo start for Expo Go client.
MacOS: to run it on Android, use an Android device with Expo Go installed, or launch an AVD from Android Studio. iOS simulator will launch on demand.
Windows: to run a iOS simulation, you need access to an iOS device with Expo Go installed.
If something isn't working, or you've installed a lot of new dependencies, clear cache and launch Expo:
npx expo start -c
We use Yarn
expo-dev-client: used for development and testing; allows for creating a 'dev build' installed in parallel with the main app on your phonereact-native-graphandreact-native-linear-gradient: used for chart functionality@react-native-firebase/app,expo-build-properties(required to use useFramework): analytics, push notificationsreact-native-reanimated,react-native-gesture-handlerare peer dependencies forreact-native-ui-lib
Check outdated dependencies:
npx yarn outdated
Generally the process to update the Expo SDK well documented in Expo blog.
Error message:
Invariant violation: Tried to register two views with the same name...
Can often be resolved by running npx expo upgrade. It's best to run it along with npx yarn upgrade.
- tweetnacl and bs58 are used for connecting phantom