Class: Fastlane::Actions::CaptureAndroidScreenshotsAction
Constant Summary
Fastlane::Action::AVAILABLE_CATEGORIES, Fastlane::Action::RETURN_TYPES
Class Method Summary
collapse
action_name, authors, deprecated_notes, details, lane_context, method_missing, other_action, return_type, return_value, sample_return_value, shell_out_should_use_bundle_exec?, step_text
Class Method Details
.author ⇒ Object
37
38
39
|
# File 'fastlane/lib/fastlane/actions/capture_android_screenshots.rb', line 37
def self.author
['asfalcone', 'i2amsam', 'mfurtak']
end
|
.available_options ⇒ Object
26
27
28
29
|
# File 'fastlane/lib/fastlane/actions/capture_android_screenshots.rb', line 26
def self.available_options
require 'screengrab'
Screengrab::Options.available_options
end
|
.category ⇒ Object
58
59
60
|
# File 'fastlane/lib/fastlane/actions/capture_android_screenshots.rb', line 58
def self.category
:screenshots
end
|
.description ⇒ Object
22
23
24
|
# File 'fastlane/lib/fastlane/actions/capture_android_screenshots.rb', line 22
def self.description
'Automated localized screenshots of your Android app (via _screengrab_)'
end
|
.example_code ⇒ Object
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'fastlane/lib/fastlane/actions/capture_android_screenshots.rb', line 45
def self.example_code
[
'capture_android_screenshots',
'screengrab # alias for "capture_android_screenshots"',
'capture_android_screenshots(
locales: ["en-US", "fr-FR", "ja-JP"],
clear_previous_screenshots: true,
app_apk_path: "build/outputs/apk/example-debug.apk",
tests_apk_path: "build/outputs/apk/example-debug-androidTest-unaligned.apk"
)'
]
end
|
.is_supported?(platform) ⇒ Boolean
41
42
43
|
# File 'fastlane/lib/fastlane/actions/capture_android_screenshots.rb', line 41
def self.is_supported?(platform)
platform == :android
end
|
.output ⇒ Object
31
32
33
34
35
|
# File 'fastlane/lib/fastlane/actions/capture_android_screenshots.rb', line 31
def self.output
[
['SCREENGRAB_OUTPUT_DIRECTORY', 'The path to the output directory']
]
end
|