- Introduced a Node.js script (`playstore-screenshot-sizes.mjs`) to resize images for Play Store screenshots based on predefined profiles (phone, tablet-7, tablet-10). - The script reads images from a specified input directory, processes them, and saves the resized images in an output directory with appropriate naming conventions. - Added a Bash wrapper script (`playstore-screenshot-sizes.sh`) to execute the Node.js script easily from the command line.
93 lines
2.3 KiB
Markdown
93 lines
2.3 KiB
Markdown
# Play Store Assets - Harheimer TC Android
|
|
|
|
## 1) Datenschutzerklaerung (Web-URL)
|
|
|
|
Empfohlene URL fuer Play Console:
|
|
- https://harheimertc.de/datenschutz
|
|
|
|
Die Seite ist in der Web-App als eigene Route vorhanden.
|
|
|
|
## 1b) Konto-Loeschung (Web-URL)
|
|
|
|
Empfohlene URL fuer Play Console:
|
|
- https://harheimertc.de/konto-loeschen
|
|
|
|
Die Seite beschreibt den Loeschprozess und Kontaktweg fuer App- und Webkonto.
|
|
|
|
## 2) Logo / Grafiken
|
|
|
|
### Pflicht
|
|
- App-Icon (Play): 512 x 512 PNG
|
|
|
|
### Optional, aber empfohlen
|
|
- Feature Graphic: 1024 x 500 PNG
|
|
|
|
### Generierung
|
|
|
|
Im Repo ist ein Script vorhanden, das aus dem Vereinslogo fertige Dateien erzeugt:
|
|
|
|
```bash
|
|
./scripts/playstore-assets.sh
|
|
```
|
|
|
|
Ausgabe in:
|
|
- android-app/playstore-assets/generated/playstore-icon-512.png
|
|
- android-app/playstore-assets/generated/playstore-feature-graphic-1024x500.png
|
|
|
|
## 3) Screenshots (anonymisiert)
|
|
|
|
### Zielgroessen fuer Store-Upload
|
|
- Telefon (Portrait): 1080 x 1920
|
|
- Medium 7" Tablet (Portrait): 1200 x 1920
|
|
- 10" Tablet (Portrait): 1600 x 2560
|
|
|
|
Alle Dateien als PNG oder JPEG.
|
|
|
|
### Anonymisierung
|
|
|
|
Script fuer schwarze halbtransparente Balken ueber sensible Bereiche:
|
|
|
|
```bash
|
|
./scripts/anonymize-playstore-screenshot.sh <input.png> <output.png> 'x,y,w,h;x,y,w,h'
|
|
```
|
|
|
|
Beispiel:
|
|
|
|
```bash
|
|
./scripts/anonymize-playstore-screenshot.sh \
|
|
android-app/playstore-assets/raw/screen1.png \
|
|
android-app/playstore-assets/anon/screen1-anon.png \
|
|
'68,118,520,72;70,706,560,98'
|
|
```
|
|
|
|
### Zielprofile erzeugen (Telefon, 7", 10")
|
|
|
|
Aus allen Dateien in `android-app/playstore-assets/anon` werden die drei Profile erzeugt:
|
|
|
|
```bash
|
|
./scripts/playstore-screenshot-sizes.sh
|
|
```
|
|
|
|
Optional mit eigenen Ordnern:
|
|
|
|
```bash
|
|
./scripts/playstore-screenshot-sizes.sh \
|
|
--input-dir android-app/playstore-assets/anon \
|
|
--output-dir android-app/playstore-assets/final
|
|
```
|
|
|
|
Output:
|
|
- android-app/playstore-assets/final/phone
|
|
- android-app/playstore-assets/final/tablet-7
|
|
- android-app/playstore-assets/final/tablet-10
|
|
|
|
## 4) Upload in Play Console
|
|
|
|
- Datenschutzerklaerung: URL eintragen
|
|
- Konto-Loeschung: URL eintragen
|
|
- App-Icon: playstore-icon-512.png
|
|
- Feature Graphic: playstore-feature-graphic-1024x500.png
|
|
- Screenshots Telefon: Dateien aus `.../final/phone`
|
|
- Screenshots 7" Tablet: Dateien aus `.../final/tablet-7`
|
|
- Screenshots 10" Tablet: Dateien aus `.../final/tablet-10`
|