Files
SDKmuta/README.md
T
2026-11-13 14:07:03 +01:00

41 lines
1.2 KiB
Markdown

# SD Kovinar
Flutter app for the SD Kovinar Muta shooting club: target photo scoring (on-device TFLite detection),
live camera streams / spectator mode, training calendar with reminders, and club contacts.
- Android package: `si.sdkkovinar.app`
- Version: set in `pubspec.yaml` (`version: x.y.z+build`, bump the build number for every Play upload)
## Development
```sh
flutter pub get
flutter run
```
## Club contacts
Contacts ship encrypted in `assets/club.enc` and unlock with the club code.
Edit the plain data in `tool/club_data.json` (gitignored, never commit) and re-encrypt:
```sh
dart run tool/encrypt_club_data.dart
```
## Release (Google Play)
1. Create `android/key.properties` (gitignored) pointing at the upload keystore:
```properties
storePassword=...
keyPassword=...
keyAlias=upload
storeFile=/absolute/path/to/upload-keystore.jks
```
Release builds fail on purpose if this file is missing, so a debug-signed build can't be uploaded.
2. Bump `version` in `pubspec.yaml`.
3. `flutter build appbundle --release` → upload `build/app/outputs/bundle/release/app-release.aab`.
Keep a backup of the upload keystore and its passwords.