Comments (7)
Android implementation
https://github.com/googlesamples/android-DirectorySelection
from flutter_file_picker.
This was actually wip to the current deployed version 1.3.0
, however, this should be more discussed as Android actually allows it but iOS don't.
In iOS we usually either use the share capabilities to save/send some data or we use the app's data container to keep it. If we want to retrieve some directory it is possible but I believe that a concrete file pick is always required.
I was trying to avoid platform-specific features with this plugin and it's been already a tough task to fulfill because they differ fairly in the way they handle file picking. Nevertheless, I'm up to suggestions.
from flutter_file_picker.
When I select a directory via getMultiFilePath
via iCloud Drive, I get a folder containing .<orig name>.icloud
files, of 175 bytes each.
I suppose this is because iCloud doesn't download the entire directory when you select it, unlike for individual files. But what do i do with these .icloud
files, and how do I get the originals?
from flutter_file_picker.
@rockgecko-development you are saying that you are able to select a folder when multi picking files?
from flutter_file_picker.
@miguelpruivo yes.
Steps to reproduce:
iPhone 6, iOS 12
Call getMultiFilePath
(it's not possible to select a folder in iCloud Drive with getFilePath
)
Under Locations, choose iCloud Drive, then in the top bar press Select, which displays checkboxes for each item. Select a folder, then Open
In the result map, you get a folder which contains the .<orig name>.icloud
placeholder files. Do you know what to do with these?
from flutter_file_picker.
Thank you @rockgecko-development. Definitely I wasn’t expecting folders of being able to be picked in iOS so that’s probably the issue.
I’ll certainly look forward this in a future update.
from flutter_file_picker.
Moved to #99.
from flutter_file_picker.
Related Issues (20)
- iOS privacy manifest required HOT 6
- Is it possible to add support for preventing too many files to be picked? HOT 4
- path null HOT 16
- Permission Error in Android Version 13. HOT 14
- Unable to pick some files(specifically pdf) in android 13 HOT 3
- dyld: Library not loaded: @rpath/DKImagePickerController.framework/DKImagePickerController HOT 3
- Persistent file access option HOT 4
- File_picker doesn't behave as expected on Android 14 HOT 4
- Apple's update to their API policy - Required Reason HOT 2
- FileType.custom not opening gallery in android HOT 2
- Inquiry about target platform requirements for windows HOT 2
- Select file UI sometimes broke in iOS HOT 2
- Drop support for DKImagePickerController
- Remove references to the deprecated Go implementation HOT 1
- Adding `opml` to file extensions throws `PlatformException` exception HOT 4
- The video extension is jpeg (ios) HOT 5
- Can I set it to allow only photos?Only photo galleries are allowed?Only files can be selected? HOT 2
- File picker doesn't open or work. HOT 5
- File Picker Ignores iOS Photo Access Limitations HOT 5
- `FilePicker.platform.getDirectoryPath()` seems to be moving the original directory to `tmp` directory [IOS] HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_file_picker.