Best way to do file I/O on Mac, iOS, Andriod, WPF and UWP?

Hi there everyone,

I've been diving into Xamarin.Forms and have been put to task on adding file loading and saving to the test app that I have been working on. Easily done in WPF, but I've been having troubles finding the ideal solution that fits the MVVM paradigm. I'd like to have my ViewModel do the load/save operation in a platform agnostic way.

I did look into PCLStorage, but I noticed that it does not include UWP functions and hasn't been updated for a year. Is there another way to do generic file loading that will work on all platforms? I'm happy with the mobile platforms using the private folders as usual. File browsers would only be needed on Windows desktop and Mac.

Any advice would be appreciated.

Sign In or Register to comment.