Skip to content

Colota - Android GPS Location tracker

Add CI-based screenshot generation with Maestro

Max Dietrich28f5773373df
diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.yml
index 04a53467..8966363c 100644
--- a/.github/workflows/build-check.yml
+++ b/.github/workflows/build-check.yml
@@ -5,6 +5,7 @@ on:
branches: [main, develop]
paths:
- 'apps/mobile/android/**'
+ - '!apps/mobile/android/app/fastlane/**'
- 'apps/mobile/src/**'
- '!apps/mobile/src/**/__tests__/**'
- 'packages/shared/**'
diff --git a/.maestro/screenshots/06-api-field-mapping.yaml b/.maestro/screenshots/05-api-field-mapping.yaml
similarity index 100%
rename from .maestro/screenshots/06-api-field-mapping.yaml
rename to .maestro/screenshots/05-api-field-mapping.yaml
diff --git a/.maestro/screenshots/07-geofences.yaml b/.maestro/screenshots/06-geofences.yaml
similarity index 100%
rename from .maestro/screenshots/07-geofences.yaml
rename to .maestro/screenshots/06-geofences.yaml
diff --git a/.maestro/screenshots/08-location-inspector.yaml b/.maestro/screenshots/07-location-inspector.yaml
similarity index 100%
rename from .maestro/screenshots/08-location-inspector.yaml
rename to .maestro/screenshots/07-location-inspector.yaml
diff --git a/.maestro/screenshots/09-export-data.yaml b/.maestro/screenshots/08-export-data.yaml
similarity index 100%
rename from .maestro/screenshots/09-export-data.yaml
rename to .maestro/screenshots/08-export-data.yaml
diff --git a/.maestro/screenshots/05-dark-mode.yaml b/.maestro/screenshots/09-dark-mode.yaml
similarity index 100%
rename from .maestro/screenshots/05-dark-mode.yaml
rename to .maestro/screenshots/09-dark-mode.yaml
diff --git a/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/5.png b/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/5.png
index 29d51576..db61dd2b 100644
Binary files a/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/5.png and b/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/5.png differ
diff --git a/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/6.png b/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/6.png
index db61dd2b..689f19b9 100644
Binary files a/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/6.png and b/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/6.png differ
diff --git a/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/7.png b/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/7.png
index 689f19b9..78e01382 100644
Binary files a/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/7.png and b/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/7.png differ
diff --git a/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/8.png b/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/8.png
index 78e01382..6f8a6b85 100644
Binary files a/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/8.png and b/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/8.png differ
diff --git a/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/9.png b/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/9.png
index 6f8a6b85..29d51576 100644
Binary files a/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/9.png and b/apps/mobile/android/app/fastlane/metadata/android/en-US/images/phoneScreenshots/9.png differ
diff --git a/scripts/sync-screenshots.sh b/scripts/sync-screenshots.sh
index 663582df..24e87479 100644
--- a/scripts/sync-screenshots.sh
+++ b/scripts/sync-screenshots.sh
@@ -32,11 +32,11 @@ STORE_ORDER=(
"Settings.png"
"Authentication.png"
"DataManagement.png"
- "DarkMode.png"
"ApiFieldMapping.png"
"Geofences.png"
"LocationInspector.png"
"ExportData.png"
+ "DarkMode.png"
)
# ---------------------------------------------------------------------------