Skip to content

Unable to run eas submit for androidTV (invalid track field) #2832

@sebryu

Description

@sebryu

Build/Submit details page URL

No response

Summary

Currently graphql schema for eas will take enum with 4 options as track parameter, but when developing app for AndroidTV (with expo/react-native-tvos) there is an additional prefix added to the track name tv:alpha as described in Google Play Developer docs.

We have even ended app with double prefix for one of our tracks, making tv:tv:alpha also a correct google play track for our use case.

While I understand that the eas-cli is designed to help developers avoid shooting themselves in the foot, I suggest allowing the track parameter to accept any string, with suggested values outlined in the description.

Managed or bare?

Bare

Environment

expo-doctor output not relevant for this issue

Error output

eas.json is not valid.
- "submit.production.android.track" must be one of [production, beta, alpha, internal]
    Error: build:list command failed

Reproducible demo or steps to reproduce from a blank project

eas.json

{
  "cli": {
    "version": ">= 14.2.0",
    "appVersionSource": "local"
  },
  "submit": {
    "production": {
      "android": {
        "track": "tv:tv:alpha"
      }
    }
  }
}

And running any build command, e.g eas build:list --limit 1 -p android --json --non-interactive

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions