fluttercommunity / fluttercommunity/flutter_downloader

android api 34, sendCancelIfRunning: isInProgress=falsecallback=io.flutter.embedding.android.FlutterActivity

Open
#969 10 comments 3 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
940
Forks
561
Avg merge
1h 18m
Merged PRs (30d)
1

Description

Android API 34
**Describe the bug**
When I use flutter_downloader to download files in flutter, the following information is displayed in the android emulator
```
W/WindowOnBackDispatcher( 5234): sendCancelIfRunning: isInProgress=falsecallback=io.flutter.embedding.android.FlutterActivity$1@98a3d9
```
flutter code:
```dart
FlutterDownloader.cancelAll();

final taskId = await FlutterDownloader.enqueue(
url: url,
savedDir: savedDir,
fileName: fileName,
showNotification: true,
saveInPublicStorage: true,
openFileFromNotification: false,
);

FlutterDownloader.registerCallback(_downloadCallback);
```

AndroidManifest.xml:
```xml



















```
**There is no other information and the callback function is not called**
I have no idea where I'm going wrong, can anyone provide some help?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.