fluttercommunity / fluttercommunity/flutter_downloader

openFileFromNotification & FlutterDownloader.open not working on android sdk version 30

Open
#599 4 comments 3 reactions 1 assignee Claimed by @bartekpacia View on GitHub
bug
Dominant language
Kotlin
Stars
940
Forks
561
Avg merge
1h 18m
Merged PRs (30d)
1

Description

Hi,

We are able to download file but unable to open them automatically using `FlutterDownloader.open` also on clicking on the notification bar file doesn't open.
This issue has been noticed after changing targetSdkVersion from 29 to 30 in build.gradle file.

We are using `flutter_downloader version: ^1.5.2`
Following is the flutter doctor information:
```
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on macOS 11.6.2 20G314, locale en-IN)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[!] Android Studio (version 4.2)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[!] IntelliJ IDEA Community Edition (version 2021.2.2)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.63.2)
[✓] Connected device (1 available)
```
As per the client requirement, it is not possible for us to update flutter to the latest version.
Request you to please help us to fix the issue.
Thank you in advance.

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.