Sanjay Jaras
Sanjay Jaras

Reputation: 61

flutter saving files locally so that available with Files App

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

Answers (3)

Davide Papagni
Davide Papagni

Reputation: 91

I added the following to info.plist and my app now show in Files:

<key>UISupportsDocumentBrowser</key>
<true/>

Upvotes: 3

Sudhan Pandey
Sudhan Pandey

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

Mazin Ibrahim
Mazin Ibrahim

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

Related Questions