Create Auth Middleware on Expo React native with UIKitten
yarn
-
Run on real device
npx expo start
-
Run with clean cache
npx expo start --clear
-
Run at Localhost
npx expo start --localhost
-
Run on Simulator
yarn ios
using eas build
eas build --platform android
#or
eas build -p android --profile preview
#or
eas build -p ios --profile preview
build to production
eas build --platform android
#or
eas build -p android --profile production
#or
eas build -p ios --profile production
eas submit -p android
eas submit -p ios
-
Add web support
npx expo install react-dom react-native-web @expo/webpack-config
-
Expo Router Docs
npx expo install expo-router react-native-safe-area-context react-native-screens expo-linking expo-constants expo-status-bar react-native-gesture-handler
-
Reac Animation Docs
npx expo install react-native-reanimated
Add web supportyarn add --dev @babel/plugin-transform-export-namespace-from
-
Integrate EAS Build
npm install -g eas-cli
eas login
-
read env variable in eas.json
npx expo install dotenv
-
Generate config file create
app.config.js
-
Dont forget to clear every time when config is changed
npx expo start --clear
-
generate metro.config and android/ios folder for prebuild
npx expo prebuild
-
install Package via expo
npx expo install {pakage-name}
Q: Is it safe to useexpo install
for everything that I need to install? A: Yes, there is nothing wrong with using it to install all of your dependencies. All expo install does is check for compatibilities with your current expo versiono.