validate_play_store_json_key

Validate that the Google Play Store json_key works

Use this action to test and validate your private key json key file used to connect and authenticate with the Google Play API

validate_play_store_json_key
Supported platforms android
Author @janpio

1 Example

validate_play_store_json_key(
  json_key: 'path/to/you/json/key/file'
)

Parameters

Key Description Default
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 validate_play_store_json_key

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 validate_play_store_json_key

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

fastlane run validate_play_store_json_key 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