Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: configure automatic screenshots #2517

Draft
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

AsCress
Copy link
Contributor

@AsCress AsCress commented Jul 26, 2024

Configures automatic screenshots in our pipelines.
Whenever a new release is made, new screenshots would automatically be captured in the release pipeline for upload to the Google PlayStore.

Changes

  • ScreenshotsTest is added to capture screenshots using fastlane screengrab.
  • Required permissions are added in the AndroidManifest, which include android.permission.DISABLE_KEYGUARD, android.permission.WAKE_LOCK, android.permission.CHANGE_CONFIGURATION and android.permission.DUMP.
  • A new GitHub action (screenshot-android/action.yml) is added, which takes care of creating an emulator and capturing screenshots.
  • The release pipeline release.yml is configured accordingly to push changes to the fastlane branch and then promote the existing APK to the production track.

Screenshots / Recordings

Here, is a screen recording of the test:

Screen_recording_20240726_161336.mp4

Checklist:

  • No hard coding: I have used resources from strings.xml, dimens.xml and colors.xml without hard coding any value.
  • No end of file edits: No modifications done at end of resource files strings.xml, dimens.xml or colors.xml.
  • Code reformatting: I have reformatted code and fixed indentation in every file included in this pull request.
  • No extra space: My code does not contain any extra lines or extra spaces than the ones that are necessary.

@AsCress AsCress requested a review from adityastic July 26, 2024 11:01
Copy link

@AsCress AsCress self-assigned this Jul 26, 2024
@AsCress AsCress added Chore Changes to things that do not go into production Status: Review Required Requested reviews from peers and maintainers labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chore Changes to things that do not go into production Status: Review Required Requested reviews from peers and maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant