fix: persist download queue to survive app restart (v1.6.1)

- Download queue now persisted to SharedPreferences
- Auto-restore pending downloads on app restart
- Interrupted downloads reset to queued and auto-resumed
- singleTask launch mode to prevent app restart on share intent
- onNewIntent handler for proper intent handling
- Reverted share_plus to 10.1.4 (12.0.1 has Kotlin build issues)
This commit is contained in:
zarzet
2026-01-02 17:33:31 +07:00
parent bd9b527161
commit 39ddb7a14f
9 changed files with 114 additions and 17 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
name: spotiflac_android
description: Download Spotify tracks in FLAC from Tidal, Qobuz & Amazon Music
publish_to: 'none'
version: 1.6.0+25
version: 1.6.1+26
environment:
sdk: ^3.10.0
@@ -46,7 +46,7 @@ dependencies:
# Utils
url_launcher: ^6.3.1
device_info_plus: ^12.3.0
share_plus: ^12.0.1
share_plus: ^10.1.4
receive_sharing_intent: ^1.8.1
logger: ^2.5.0