Reputation: 61
Is there way in flutter to save the files locally on a iPhone so that those files will available in Files App?
Upvotes: 6
Views: 5582
Reputation: 91
I added the following to info.plist
and my app now show in Files:
<key>UISupportsDocumentBrowser</key>
<true/>
Upvotes: 3
Reputation: 21
Yes it is actually possible.
Just open the info.plist
file and add the key "UIFileSharingEnabled"
and set it to YES
.
Then you're done.
Upvotes: 2
Reputation: 7889
There's a dedicated article in the Flutter cookbook extensively explaining how to read and write files to disk using the path_provider_plugin and dart.io
library.
Upvotes: -1