Baseflow / flutter_cache_manager

Generic cache manager for flutter
https://baseflow.com
MIT License
739 stars 426 forks source link

support m4a file extension #358

Closed VICrazy closed 2 years ago

VICrazy commented 2 years ago

:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)

feature

:arrow_heading_down: What is the current behavior?

The m4a audio file extension is not supported now.

:new: What is the new behavior (if this is a feature change)?

The m4a audio file extension are already supported.

:boom: Does this PR introduce a breaking change?

no

:bug: Recommendations for testing

Download the m4a audio file via http, and then play the file

:memo: Links to relevant issues/docs

https://github.com/Baseflow/flutter_cache_manager/pull/172/files

:thinking: Checklist before submitting

codecov[bot] commented 2 years ago

Codecov Report

Merging #358 (ee9003e) into develop (aca37f6) will decrease coverage by 0.10%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #358      +/-   ##
===========================================
- Coverage    75.39%   75.28%   -0.11%     
===========================================
  Files           22       23       +1     
  Lines          691      692       +1     
===========================================
  Hits           521      521              
- Misses         170      171       +1     
Impacted Files Coverage Δ
flutter_cache_manager/lib/src/cache_manager.dart 88.31% <ø> (ø)
.../lib/src/cache_managers/default_cache_manager.dart 0.00% <ø> (ø)
flutter_cache_manager/lib/src/cache_store.dart 92.55% <ø> (ø)
...he_manager/lib/src/compat/file_service_compat.dart 93.33% <ø> (ø)
...utter_cache_manager/lib/src/config/_config_io.dart 12.50% <ø> (ø)
flutter_cache_manager/lib/src/config/config.dart 0.00% <ø> (ø)
...tter_cache_manager/lib/src/web/mime_converter.dart 100.00% <ø> (ø)
flutter_cache_manager/lib/src/web/web_helper.dart 95.65% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update aca37f6...ee9003e. Read the comment docs.

renefloor commented 2 years ago

Sorry about the analyzer, yours is the first PR since the new Flutter stable. If you want I can create a separate PR to fix the analyzer issues.

VICrazy commented 2 years ago

Sorry about the analyzer, yours is the first PR since the new Flutter stable. If you want I can create a separate PR to fix the analyzer issues.

Thanks, but I want to try fix it.