Skip to content

Instantly share code, notes, and snippets.

@Surf-logic
Created January 6, 2024 10:18
Show Gist options
  • Save Surf-logic/34ce7a1ee86cef63a56ac51452a2d19d to your computer and use it in GitHub Desktop.
Save Surf-logic/34ce7a1ee86cef63a56ac51452a2d19d to your computer and use it in GitHub Desktop.
eas commands
  • Install NodeJs
choco install -y nodejs
  • Install development kit
choco install -y microsoft-openjdk17
  • Install local dev client
npx expo install expo-dev-client
  • Initialize new project
npx create-expo-app my-app
cd my-app
  • Initialise existing project
npm install --global eas-cli
eas init --id xxxxxxxxxxxxxxxxxx (from creating new project in expo.dev)
  • Start development server
npx expo start --tunnel
  • Run local
npx expo run:android
  • Build test for Android studio vertual device or actual device
eas build -p android --profile preview
  • Build to deploy for Google Play
eas build --platform android
  • Build to deploy for App Store
eas build --platform ios
  • Submit to App store
eas submit -p ios
  • Expo app credentials
https://docs.expo.dev/app-signing/app-credentials/
  • Java Keytool Commands for Creating and Importing
https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html

Here’s how to generate and register a new upload key:

  1. Follow the instructions in the Android Studio Help Center to generate a new key. It must be different from any previous keys, be a 2048-bit RSA key, and have 25-year validity. Alternatively, you can use the following command line to generate a new key: keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks

  2. Export the certificate for that key to PEM format: keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks

  3. Once you have generated a PEM file please follow the steps below:

    1. Go to Setup > App integrity > App Signing.
    2. Request Upload key reset.
    3. Give a reason why you’re requesting a key reset.
    4. Enter PEM file.
    5. Click Request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment