mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-24 08:20:40 +00:00
134af8ad28
* implemented `MockCameraContainerBloc` to stub camera on simulator * [iOS] fixed camera preview aspect ratio * place screenshots in platform-specific folders * [iOS] updated buildable name * [iOS] fixed stub image cover fit * [iOS] implemented screenshots generator for all target devices * store screenshots in _generated_ folder * Update .gitignore * Created "Build Prod .ipa" workflow * added. certs to .ipa workflow * test ipa building * fixed provision cert path * set provision profile in XCode * set automatic signing for dev builds * set ios version in Podfile * renamed provision file * renamed provision profile * fixed cert folder... * changed provision path * typo * typo * try automatic signing * use manual profile installation * added export options * typo * increased timeout * increased ipa timeout * Update README.md * typo * [iOS] separated camera handling logic * [iOS] fixed vibration * migrated to http server iap * [iOS] fixed histogram * replaced distribution profile with development profile * removed constants from env to the separate file * removed duplicate launch schema * fixed PR check workflow * [iOS] set `ITSAppUsesNonExemptEncryption` to NO * [iOS] removed java reference from "Build .ipa" workflow
64 lines
1.3 KiB
Markdown
64 lines
1.3 KiB
Markdown
# Screenshots
|
|
|
|
The easiest way to create several sets of identical screenshots for Android and iOS is to generate them instead of taking them manually. Generating screenshots will save time and effort while also providing a consistent output.
|
|
|
|
## Context
|
|
|
|
As a user I want to see the most relevant screenshots in the store, so that I can see the actual state of the app.
|
|
|
|
## Screenshot cases
|
|
|
|
- Metering screen
|
|
|
|
1. Reflected light metering mode\*
|
|
2. Incident light metering mode\* \*\*
|
|
3. Opened ISO picker
|
|
|
|
- Settings screen
|
|
|
|
1. Just the screen
|
|
2. Opened metering screen layout features dialog
|
|
|
|
- Equipment profiles screen
|
|
|
|
1. Just the screen
|
|
2. Opened equipment profile ISO picker
|
|
|
|
> \*also in dark mode
|
|
|
|
> \*\*Android only
|
|
|
|
## Run the generator
|
|
|
|
Screenshots will be stored in the _screenshots/generated/\<platform\>/_ folder.
|
|
|
|
### Android
|
|
|
|
```console
|
|
sh screenshots/generate_screenshots.sh <deviceName>
|
|
```
|
|
|
|
### iOS
|
|
|
|
Apple requires screenshots a specific list of devices, so we can implement a custom generator to cover all those devices.
|
|
|
|
Can be run on Simulator.
|
|
|
|
```console
|
|
sh screenshots/generate_ios_screenshots.sh
|
|
```
|
|
|
|
## List of devices
|
|
|
|
### Android
|
|
|
|
- Pixel 6
|
|
|
|
### iOS
|
|
|
|
- iPhone 8 Plus
|
|
- iPhone 13 Pro
|
|
- iPhone 13 Pro Max
|
|
- iPhone 15 Pro
|
|
- iPhone 15 Pro Max
|
|
- iPad Pro (12.9-inch) (6th generation)
|