Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 973 Bytes

README.md

File metadata and controls

68 lines (51 loc) · 973 Bytes

How to:

  1. Setup an Expo project
  2. Setup EAS:
eas build:configure
  1. Add a simulator build to eas.json
{
  "build": {
    "development-simulator": {
      "developmentClient": true,
      "distribution": "internal",
      "ios": {
        "simulator": true
      }
    }
  }
}
  1. 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"
  1. Commit your changes

  2. Add react-native-opaque

npx expo install react-native-opaque
  1. Run a build
eas build --profile development-simulator --platform ios