fluttercommunity / fluttercommunity/flutter_downloader

Unexpected valid directory assertion check

Open
#845 0 comments 1 reaction 1 assignee Claimed by @salmaahhmed View on GitHub
Dominant language
Kotlin
Stars
940
Forks
561
Avg merge
1h 18m
Merged PRs (30d)
1

Description

It says [here](https://github.com/fluttercommunity/flutter_downloader/blob/master/lib/src/downloader.dart#L89) that if ```saveInPublicStorage``` is set to ```true```, ```saveDir``` will be ignored, meanwhile there's still an [assertion](https://github.com/fluttercommunity/flutter_downloader/blob/master/lib/src/downloader.dart#L105) at the start of the function that throws an error if ```saveDir``` is invalid.

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.