download_from_play_store

Download metadata and binaries from Google Play (via supply)

More information: https://docs.fastlane.tools/actions/download_from_play_store/

download_from_play_store
Supported platforms android
Author @janpio

1 Example

download_from_play_store

Parameters

Key Description Default
package_name The package name of the application to use *
version_name Version name (used when uploading new apks/aabs) - defaults to 'versionName' in build.gradle or AndroidManifest.xml *
track The track of the application to use. The default available tracks are: production, beta, alpha, internal production
metadata_path Path to the directory containing the metadata files *
key DEPRECATED! Use --json_key instead - The p12 File used to authenticate with Google *
issuer DEPRECATED! Use --json_key instead - The issuer of the p12 file (email address of the service account) *
json_key The path to a file containing service account JSON, used to authenticate with Google *
json_key_data The raw service account JSON data used to authenticate with Google *
root_url Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/
timeout Timeout for read, open, and send (in seconds) 300

* = default value is dependent on the user's system


Documentation

To show the documentation in your terminal, run

fastlane action download_from_play_store

CLI

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_from_play_store

To pass parameters, make use of the : symbol, for example

fastlane run download_from_play_store 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 Fastfile.


Source code

This action, just like the rest of fastlane, is fully open source, view the source code on GitHub


Back to actions