class Fastlane::Actions::DownloadFromPlayStoreAction

Public Class Methods

authors() click to toggle source
# File fastlane/lib/fastlane/actions/download_from_play_store.rb, line 42
def self.authors
  ["janpio"]
end
available_options() click to toggle source
# File fastlane/lib/fastlane/actions/download_from_play_store.rb, line 26
def self.available_options
  require 'supply'
  require 'supply/options'
  options = Supply::Options.available_options.clone

  # remove all the unnecessary (for this action) options
  options_to_keep = [:package_name, :version_name, :track, :metadata_path, :json_key, :json_key_data, :root_url, :timeout, :key, :issuer]
  options.delete_if { |option| options_to_keep.include?(option.key) == false }
end
category() click to toggle source
# File fastlane/lib/fastlane/actions/download_from_play_store.rb, line 56
def self.category
  :production
end
description() click to toggle source

@!group Documentation

# File fastlane/lib/fastlane/actions/download_from_play_store.rb, line 18
def self.description
  "Download metadata and binaries from Google Play (via _supply_)"
end
details() click to toggle source
# File fastlane/lib/fastlane/actions/download_from_play_store.rb, line 22
def self.details
  "More information: https://docs.fastlane.tools/actions/download_from_play_store/"
end
example_code() click to toggle source
# File fastlane/lib/fastlane/actions/download_from_play_store.rb, line 50
def self.example_code
  [
    'download_from_play_store'
  ]
end
is_supported?(platform) click to toggle source
# File fastlane/lib/fastlane/actions/download_from_play_store.rb, line 46
def self.is_supported?(platform)
  platform == :android
end
output() click to toggle source
# File fastlane/lib/fastlane/actions/download_from_play_store.rb, line 36
def self.output
end
return_value() click to toggle source
# File fastlane/lib/fastlane/actions/download_from_play_store.rb, line 39
def self.return_value
end
run(params) click to toggle source
# File fastlane/lib/fastlane/actions/download_from_play_store.rb, line 4
def self.run(params)
  require 'supply'
  require 'supply/options'

  Supply.config = params # we already have the finished config

  require 'supply/setup'
  Supply::Setup.new.perform_download
end