ab8a86e794
Update banner showing on identical versions:
- pubspec.yaml was stuck at the placeholder 0.1.0+1, so
PackageInfo.version returned "0.1.0" while the server reported the
actual release tag (e.g. "2026.05.10.1"). Comparison correctly said
"newer" → banner always showed.
- Bump pubspec to 2026.05.11.0+1 so the local default matches the
release cadence even before CI overrides it.
- Update flutter.yml release step to pass --build-name="${TAG#v}" so
every tagged APK reports the tag as its PackageInfo.version. Future
releases stop drifting from pubspec.
- Rewrite isVersionNewer to do component-wise int comparison with
zero-padding: pub_semver.Version.parse rejects 4-part date versions
like "2026.05.10.1", at which point the old code fell back to
string inequality and treated "2026.05.10" as newer than itself
vs "2026.05.10.0". Drop the pub_semver import (no longer used).
Lock-screen play/pause not responding:
- PlaybackState only listed MediaAction.seek in systemActions, which
on Android 13+ means tapping the lock-screen play/pause button
doesn't route back to the AudioHandler. Add play, pause,
skipToNext, skipToPrevious to the set.
- Add androidCompactActionIndices: [0, 1, 2] so the compact
notification view explicitly maps the three buttons.
Album art being smaller than the lock-screen frame is upstream of
this commit — the cover-cache writes whatever pixel dimensions the
server returns. If the server's /api/albums/<id>/cover returns small
thumbnails for these albums, the lock screen renders them at that
size. Worth a separate look at the server cover-emit path.
46 lines
977 B
YAML
46 lines
977 B
YAML
name: minstrel
|
|
description: Minstrel mobile client
|
|
publish_to: 'none'
|
|
version: 2026.05.11.0+1
|
|
|
|
environment:
|
|
sdk: '>=3.5.0 <4.0.0'
|
|
flutter: '>=3.24.0'
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
flutter_riverpod: ^3.3.1
|
|
dio: ^5.7.0
|
|
just_audio: ^0.10.5
|
|
audio_service: ^0.18.15
|
|
flutter_secure_storage: ^10.1.0
|
|
go_router: ^17.2.3
|
|
flutter_svg: ^2.0.16
|
|
google_fonts: ^8.1.0
|
|
# 10.x conflicts with flutter_secure_storage 10.x on win32. Hold at 8.3.1
|
|
# until either lib bumps win32 to 6.x.
|
|
package_info_plus: ^8.3.1
|
|
pub_semver: ^2.1.4
|
|
cupertino_icons: ^1.0.8
|
|
path_provider: ^2.1.5
|
|
drift: ^2.18.0
|
|
drift_flutter: ^0.2.0
|
|
sqlite3_flutter_libs: ^0.5.24
|
|
connectivity_plus: ^6.0.5
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
mocktail: ^1.0.4
|
|
drift_dev: ^2.18.0
|
|
build_runner: ^2.4.13
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
assets:
|
|
- assets/svg/
|
|
- assets/error-copy.json
|
|
- shared/fabledsword.tokens.json
|