We are looking for a way to download from Gitlab an Android .apk that was distributed via Firebase and is located in the (APP Distribution) section, to upload it to an e2e automated test repository and run those tests against the downloaded .apk.
Is there any way to do this? In the Firebase page I can only find the way to upload it to Firebase via CLI, but not the way to download it.
Does anyone have any ideas or have done anything similar?
firebase:
stage: firebase
image: node:latest
script:
- npm i -g firebase-tools
- firebase --help
- firebase projects:list --token $FIREBASE_TOKEN
- firebase apps:list --project escript-app-63c00 --token $FIREBASE_TOKEN
- ?????
- curl -O "here would go the URL of the downloadable .apk"
How can I access one of these apps lists and download an .apk or .ipa?