feat: enhance download manager with improved logging and task handling

This commit is contained in:
Dr-Blank 2024-09-20 17:53:20 -04:00
parent cac6a96f14
commit 30f87c422b
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
5 changed files with 686 additions and 145 deletions

View file

@ -8,7 +8,6 @@ import 'package:just_audio_media_kit/just_audio_media_kit.dart'
import 'package:logging/logging.dart';
import 'package:vaani/api/server_provider.dart';
import 'package:vaani/db/storage.dart';
import 'package:vaani/features/downloads/core/download_manager.dart';
import 'package:vaani/features/downloads/providers/download_manager.dart';
import 'package:vaani/features/playback_reporting/providers/playback_reporter_provider.dart';
import 'package:vaani/features/player/providers/audiobook_player.dart';
@ -49,9 +48,6 @@ void main() async {
androidNotificationOngoing: true,
);
// for initializing the download manager
await initDownloadManager();
// run the app
runApp(
const ProviderScope(