ext_storage
ext_storage copied to clipboard
ext_storage is minimal flutter plugin that provides external storage path and external public storage path.
"The plugins ext_storage use a deprecated version of the Android embedding" How can i avoid this type of error ?
Flutter Android V2 update
[ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: FileSystemException: Cannot open file, path = '/storage/emulated/0/Download/counter.txt' (OS Error: Permission denied, errno = 13)
Any planning to migrate to null-safety?
Hello I'm using ExtStorage.getExternalStoragePublicDirectory(ExtStorage.DIRECTORY_DOCUMENTS) String fileDrc=await ExtStorage.getExternalStoragePublicDirectory(ExtStorage.DIRECTORY_DOCUMENTS); final path= Directory( fileDrc+ "/Reports"); if (!(await path.exists())) path.create(); but I get error FileSystemException: Creation failed, path = '/storage/emulated/0/Documents/Reports' (OS Error: No such...
See info here: https://flutter.dev/docs/development/packages-and-plugins/plugin-api-migration
https://github.com/yasukotelin/ext_storage/blob/master/lib/ext_storage.dart#L33-L46 Instead of using `Platform.isAndroid` to check if the current Platform is Android, I'm proposing the following solution: ``` import 'package:flutter/foundation.dart' show defaultTargetPlatform, TargetPlatform; if (defaultTargetPlatform != TargetPlatform.android) { throw...
Howdy mate! I just touched down into your repo and wanted to use the plugin for getting Storage paths. Although unfortunately I ran into build error at gradle stage. Attached...