Is there way in flutter to save the files locally on a iPhone so that those files will available in Files App?
3 Answers
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.
2 Comments
AAryan
by path_provider you can only store data in Documents(NSDocumentDirectory for ios) and Temporary directory and getExternalStorageDirectory will not work on ios
Sanjay Jaras
Thanks for the reply Mazin, I could able to create file under applications directory however in ios it's not visible under Files Application. I want a way to show a file saved by my application in Files app so that user can export/share it.