Expo - How to run eas submit for internal testing in google play
Asked Answered
O

1

6

Im using expo with eas build and eas submit for releasing an android app, when I do eas submit it automatically uploads the build and releases to the store.

Is it possible to run eas submit to upload to the internal testing track in the google play console?

My goal is to automate the process where I only upload the build for internal testing and once is tested release to the store by promoting the internal build.

Oblast answered 20/12, 2022 at 22:3 Comment(0)
O
8

I was able to do this by setting the track to internal in the eas.json file specifically in the submit section reference https://docs.expo.dev/submit/eas-json/:

{
  "build": {
    "development": {
      ....
    },
    "production": {
      "channel": "production",
      "distribution": "store",
    }
  },
  "submit": {
    "production": {
      "android": {
        "track": "internal" // (enum: production, beta, alpha, internal) 
      },
      "ios": {
      }
    }
  }
}
Oblast answered 28/12, 2022 at 16:58 Comment(1)
Tried the same, but still got "Google Api Error: Invalid request - Only releases with status draft may be created on draft app". I also set "changesNotSentForReview": trueClaudication

© 2022 - 2024 — McMap. All rights reserved.