Class: Fastlane::Actions::DownloadFromPlayStoreAction
Constant Summary
Fastlane::Action::AVAILABLE_CATEGORIES, Fastlane::Action::RETURN_TYPES
Class Method Summary
collapse
action_name, author, deprecated_notes, lane_context, method_missing, other_action, return_type, sample_return_value, shell_out_should_use_bundle_exec?, step_text
Class Method Details
.authors ⇒ Object
42
43
44
|
# File 'fastlane/lib/fastlane/actions/download_from_play_store.rb', line 42
def self.authors
["janpio"]
end
|
.available_options ⇒ Object
26
27
28
29
30
31
32
33
34
|
# 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
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 ⇒ Object
56
57
58
|
# File 'fastlane/lib/fastlane/actions/download_from_play_store.rb', line 56
def self.category
:production
end
|
.description ⇒ Object
18
19
20
|
# 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 ⇒ Object
22
23
24
|
# 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 ⇒ Object
50
51
52
53
54
|
# File 'fastlane/lib/fastlane/actions/download_from_play_store.rb', line 50
def self.example_code
[
'download_from_play_store'
]
end
|
.is_supported?(platform) ⇒ Boolean
46
47
48
|
# File 'fastlane/lib/fastlane/actions/download_from_play_store.rb', line 46
def self.is_supported?(platform)
platform == :android
end
|
.output ⇒ Object
36
37
|
# File 'fastlane/lib/fastlane/actions/download_from_play_store.rb', line 36
def self.output
end
|
.return_value ⇒ Object
39
40
|
# File 'fastlane/lib/fastlane/actions/download_from_play_store.rb', line 39
def self.return_value
end
|
.run(params) ⇒ Object
4
5
6
7
8
9
10
11
12
|
# File 'fastlane/lib/fastlane/actions/download_from_play_store.rb', line 4
def self.run(params)
require 'supply'
require 'supply/options'
Supply.config = params
require 'supply/setup'
Supply::Setup.new.perform_download
end
|