summaryrefslogtreecommitdiff
path: root/fastlane/Screengrabfile
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2023-01-02 21:08:29 +0100
committercyberta <cyberta@riseup.net>2023-01-02 21:08:29 +0100
commite201e92acf17e3a71e2bffb73419fdd3726b0569 (patch)
treee2d794451129a9764075fb1750c8a3eee807a733 /fastlane/Screengrabfile
parent256bf71832d266da62fdf8b3143308da00e7459b (diff)
simple example setup for fastlane, doing some screenshots in different languages, including screenshots with phone frames for use in an app store
Diffstat (limited to 'fastlane/Screengrabfile')
-rw-r--r--fastlane/Screengrabfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/fastlane/Screengrabfile b/fastlane/Screengrabfile
new file mode 100644
index 00000000..4c46de1a
--- /dev/null
+++ b/fastlane/Screengrabfile
@@ -0,0 +1,20 @@
+# remove the leading '#' to uncomment lines
+
+# app_package_name('your.app.package')
+# use_tests_in_packages(['your.screenshot.tests.package'])
+
+app_apk_path('app/build/outputs/apk/normalProductionFat/debug/Bitmask_debug.apk')
+# tests_apk_path('app/build/intermediates/apk/androidTest/normalProductionFat/debug/app-normal-production-fat-debug-androidTest.apk')
+
+# all locales
+# locales(['ar', 'az', 'bg', 'bn', 'br', 'ca', 'cs', 'de', 'el', 'es', 'es-AR', 'et', 'eu', 'fa-IR', 'fi', 'fr', 'gl', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'my', 'nl', 'no', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'tr', 'ug', 'uk', 'vi', 'zh-CN', 'zh-TW'])
+# prioritized locales
+# locales(['ar', 'bn', 'de', 'es', 'fa-IR', 'fr', 'he', 'hu', 'id', 'it', 'ja', 'my', 'nl', 'pt-BR', 'pt-PT', 'ru', 'tr', 'ug', 'uk', 'zh-CN', 'zh-TW'])
+# development locales
+locales(['ar', 'de', 'ru'])
+
+# clear all previously generated screenshots in your local output directory before creating new ones
+clear_previous_screenshots(true)
+
+# For more information about all available options run
+# fastlane screengrab --help