Sha256: 70cbab697123c8a3fe86f7623f5cf4764841db9b0d858deb3a77e209d195eadc

Contents?: true

Size: 1.5 KB

Versions: 146

Compression:

Stored size: 1.5 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, :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

      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

146 entries across 146 versions & 4 rubygems

Version Path
fastlane-2.225.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.224.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.223.1 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.223.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.222.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.221.1 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.221.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.220.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.219.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.218.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-security-patched-2.216.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.217.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.216.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.215.1 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.215.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-mercafacil-2.214.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.214.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.213.0 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane-2.212.2 fastlane/lib/fastlane/actions/download_from_play_store.rb
fastlane_pricing_fix-2.212.1 fastlane/lib/fastlane/actions/download_from_play_store.rb