firebase-tools: Unable to upload app to distribution when app has not been released on play store

Fastlane, Firebase REST API, gradle, and firebase console in web browser, all allow users to upload apks and app bundles to firebase app distribution without the application needing to be published on the play store, but the firebase-tools cli fails with the response:

This app is not published in the Google Play console.

This specific feature and functionality does not require that the application first be published on play console to be able to downloaded and installed with App Tester using the other distribution tools outlined above. It seems strange that this tool would be the only one to fail this check and the others work as intended.

[REQUIRED] Environment info

firebase-tools: latest

Platform: windows

[REQUIRED] Test case

User can upload unpublished apps to firebase app distribution using firebase-tools. User can download and install unpublished apps using App Tester.

[REQUIRED] Steps to reproduce

  • Create a new firebase project
  • Create a new android application
  • Setup firebase with the new android application
  • (✅ passes) Attempt to upload the application to distribution using one of the methods listed above (other than firebase-tools)
  • (❌ fails) Attempt to upload the application to distribution using the firebase-tools

[REQUIRED] Expected behavior

Firebase tools will upload the application to distribution without requiring the application to first be published to play store

[REQUIRED] Actual behavior

Uploading app to distribution fails because the application isn’t published on the app store, even though other valid alternative methods will successfully be able to upload the application to distribution and make it available to install and test using App Tester

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 15 (6 by maintainers)

Most upvoted comments

Hi @StephenHodgson - to clarify, are you uploading AABs or APKs?

(For AABs, the app does in fact have to be published in Google Play. The specific requirements are listed in the AAB setup documentation for each client, under Before you begin.)

@aprilmintacpineda When uploading AABs, the app does in fact have to be published in Google Play. The specific requirements are listed in the AAB setup documentation for each client, under Before you begin.

Hey, I am receiving similar issue when uploading aab.

firebase appdistribution:distribute ...
Error: "This app is not published in the Google Play console.

App is published for internal testing: Screenshot 2023-04-24 at 11 27 45

The firebase still says that app is not on a published track. Screenshot 2023-04-24 at 11 28 21

So the app is published in one of the tracks but the issue remains. Should I wait a bit more and the warning will disappear or I did do something wrong?

I tested with both abb and apk versions and the other distribution tools listed above all allow you to upload to firebase and distribute to the test app without it being published on google play.