Files
sepot/app/pubspec.yaml
T
Julius Joska 79ad411d7e fix(app): read the version from the installed package
The version was a hand-written constant that had to be kept in sync with
`version:` in pubspec.yaml. It was not: the constant still said 1.1.0 while
the shipped build was 1.1.2+22, so every abuse report carried a version that
no build ever had — and reports could not be traced back to a build.

AppInfo reads versionName / CFBundleShortVersionString, which Flutter derives
from the pubspec, so the two cannot drift apart again. Reports now carry the
build number as well; when the version is not known yet the field is omitted
rather than guessed.

Also adds the timestamp regression test that covers MessagingService.wireSentAt,
which shipped in 1.1.2 without its test.
2026-09-04 10:18:37 +02:00

90 lines
2.3 KiB
YAML

name: sepot
description: "Šepot — Soukromý messenger s E2E šifrováním"
publish_to: 'none'
version: 1.1.2+22
environment:
sdk: ^3.10.8
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
flutter_riverpod: ^2.6.1
go_router: ^14.8.1
cryptography: ^2.7.0
uuid: ^4.5.1
qr_flutter: ^4.1.0
mobile_scanner: ^7.1.4
flutter_secure_storage: ^9.2.4
json_annotation: ^4.9.0
intl: ^0.20.2
lucide_icons: ^0.257.0
shimmer: ^3.0.0
url_launcher: ^6.3.1
share_plus: ^10.1.4
local_auth: ^2.3.0
flutter_local_notifications: ^18.0.1
web_socket_channel: ^3.0.2
http: ^1.2.2
socks5_proxy: ^2.1.1
path_provider: ^2.1.5
# Verzi appky nikdy nepsat ručně — čte se z nainstalovaného balíčku
# (viz lib/core/app_info.dart), aby se nemohla rozejít s `version:` výš.
package_info_plus: ^8.3.1
convert: ^3.1.2
libsignal: ^5.0.9
bip39: ^1.0.6
base32: ^2.2.0
pointycastle: ^3.9.1
protobuf: ^6.0.0
sqlite3: ^3.3.4
# Pin pod 6.2.0: od 6.2.0 táhne unifiedpush_linux → webpush_encryption →
# webcrypto, jehož native framework na iOS chybí LC_ENCRYPTION_INFO (blokuje
# upload). Linux desktop neshipujeme, na Android/iOS je 6.1.x funkčně shodná.
unifiedpush: ">=6.1.0 <6.2.0"
image: ^4.8.0
mime: ^2.0.0
image_picker: ^1.2.3
file_picker: ^11.0.2
firebase_core: ^4.11.0
firebase_messaging: ^16.4.1
record: ^6.2.1
audioplayers: ^6.7.1
screen_protector: ^1.5.2
dev_dependencies:
integration_test:
sdk: flutter
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
json_serializable: ^6.9.4
build_runner: ^2.4.15
flutter_launcher_icons: ^0.14.4
flutter_native_splash: ^2.4.7
flutter:
uses-material-design: true
generate: true
assets:
- assets/icon/
# Písma se dodávají v balíčku (OFL, viz assets/fonts/OFL.txt) — appka
# nikdy nestahuje fonty za běhu z cizí CDN. Variable TTF pokryjí všechny
# váhy, Flutter mapuje fontWeight na osu wght.
fonts:
- family: Inter
fonts:
- asset: assets/fonts/Inter.ttf
- family: JetBrains Mono
fonts:
- asset: assets/fonts/JetBrainsMono.ttf
# Nativní sqlite3 = SQLCipher build (šifrovaná lokální DB pro krypto stavy).
# Build hook balíčku sqlite3 stáhne libsqlcipher pro každou platformu.
hooks:
user_defines:
sqlite3:
source: sqlcipher