Setting up a professional development process with Expo and EAS Workshop
Using word-check
app from from https://github.com/jonsamp/word-check
Check if a word is playable in the game of SCRABBLE™️.
Install dependencies
yarn
Then run the app
yarn start
Double check if you are signed in with your expo.dev account from your terminal
eas whoami
eas login
We need to change our app credentials
// app.json
{
"expo": {
"owner": "appjs-one", # expo organisation
"ios": {
"bundleIdentifier": "appjsone.words", # application identifier
},
"android": {
"package": "com.appjsone.wordcheck", # application identifier
}
}
}
Configure eas.json
options
eas build:configure
Ship the ios
build to production
eas build --profile production --ios
To check the results, from VSCode command
+ shift
+ P
and
Expo: Preview modifier
ios.infoPlist
Here is a link with config-plugins examples
eas device:create
// app.json
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
},
}
eas build --profile development --platform all
We want a development build and production build of our managed Expo project.
const IS_DEV = process.env.APP_VARIANT === "development";
export default {
"name": IS_DEV ? "Word Check (Dev)" : "Word Check",
"ios": {
"bundleIdentifier": IS_DEV ? "appjsone.words.dev" : "appjsone.words",
},
}
{
"build": {
"development": {
"developmentClient": true,
"env": {
"APP_VARIANT": "development"
}
},
"production": {}
}
}
https://github.com/jakobo/expo-community-flipper
yarn add expo-community-flipper react-native-flipper
eas build --profile devlopement --platform ios
https://docs.expo.dev/submit/ios/
eas submit --platform ios
eas build --auto-submit
eas update:configure
add a channel
"preview": {
"distribution": "internal",
"channel": "preview"
},
- Register your device
eas device:create
eas build --profile preview
eas update --branch preview
eas channel:view
eas channel:edit