fluttercommunity / fluttercommunity/flutter_uploader
Android mime type not detected if file path contains whitespace
Open
android
bug
- Dominant language
- Dart
- Stars
- 218
- Forks
- 172
- PR merge metrics
- No merged PRs in 30d
Description
For example:
after compressing with video_compress (https://pub.dev/packages/video_compress) plugin, path could be:
'/storage/emulated/0/Android/data/com.example/files/video_compress/VID_2021-10-25 02-21-21.mp4'
which would be detected as mime type 'application/octet-stream' instead of 'video/mp4'
Debated on whether this is an issue with video_compress creating paths with whitespace, or flutter_uploader not accepting paths with whitespace. Decided this is a flutter_uploader issue. iOS works fine with whitespace
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.