Sha256: 388a9f69b9b2c7dee714ca4b7910f2b34e0923f42160c16b7ad987e62b37fb96

Contents?: true

Size: 1.47 KB

Versions: 334

Compression:

Stored size: 1.47 KB

Contents

module Fastlane
  module Actions
    class DownloadFromPlayStoreAction < Action
      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

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Download metadata and binaries from Google Play (via _supply_)"
      end

      def self.details
        "More information: https://docs.fastlane.tools/actions/download_from_play_store/"
      end

      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, :metadata_path, :json_key, :json_key_data, :root_url, :timeout, :key, :issuer]
        options.delete_if { |option| options_to_keep.include?(option.key) == false }
      end

      def self.output
      end

      def self.return_value
      end

      def self.authors
        ["janpio"]
      end

      def self.is_supported?(platform)
        platform == :android
      end

      def self.example_code
        [
          'download_from_play_store'
        ]
      end

      def self.category
        :production
      end
    end
  end
end

Version data entries

334 entries across 334 versions & 2 rubygems

Version Path
fastlane-2.117.0.beta.20190227200038 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190226200042 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190225200103 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190224200023 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190223200012 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190222200022 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190221200044 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190220200018 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.116.1 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190219200042 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190218200024 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190217200019 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190216200056 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190215200101 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190214200107 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190213200055 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190212200112 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190211200054 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190210200028 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.117.0.beta.20190209200055 fastlane/lib/fastlane/actions/download_from_play_store.rb