Download the Universal APK of a given version code from the Google Play Console
Download the universal APK of a given version code from the Google Play Console.
This uses fastlane
AndroidPublisherGoogle API) to download the Universal APK
generated by Google after you uploaded an
.aabbundle to the Play Console.
|Returns||The path to the downloaded Universal APK. The action will raise an exception if it failed to find or download the APK in Google Play|
||The package name of the application to use||*|
||The versionCode for which to download the generated APK||*|
||The path to a file containing service account JSON, used to authenticate with Google||*|
||The raw service account JSON data used to authenticate with Google||*|
||Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/|
||Timeout for read, open, and send (in seconds)||
||The path on disk where to download the Generated Universal APK|
||The SHA256 hash of the signing key for which to download the Universal, Code-Signed APK for. Use 'xx:xx:xx:…' format (32 hex bytes separated by colons), as printed by
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action download_universal_apk_from_google_play
It is recommended to add the above action into your
Fastfile, however sometimes you might want to run one-offs. To do so, you can run the following command from your terminal
fastlane run download_universal_apk_from_google_play
To pass parameters, make use of the
: symbol, for example
fastlane run download_universal_apk_from_google_play parameter1:"value1" parameter2:"value2"
It's important to note that the CLI supports primitive types like integers, floats, booleans, and strings. Arrays can be passed as a comma delimited string (e.g.
param:"1,2,3"). Hashes are not currently supported.
It is recommended to add all fastlane actions you use to your
This action, just like the rest of fastlane, is fully open source, view the source code on GitHub