How to:
- Setup an Expo project
- Setup EAS:
eas build:configure
- Add a simulator build to eas.json
{
"build": {
"development-simulator": {
"developmentClient": true,
"distribution": "internal",
"ios": {
"simulator": true
}
}
}
}
- Add expo-dev-client to package.json
npx expo install expo-dev-client
Add this to the top of App.js
import "expo-dev-client";
Replace in package.json:
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web"
with:
"start": "expo start --dev-client",
"android": "expo start --android --dev-client",
"ios": "expo start --ios --dev-client",
"web": "expo start --web --dev-client"
-
Commit your changes
-
Add react-native-opaque
npx expo install react-native-opaque
- Run a build
eas build --profile development-simulator --platform ios