jfversluis / FilePicker-Plugin-for-Xamarin-and-Windows

FilePicker Plugin for Xamarin and Windows
MIT License
157 stars 80 forks source link

Marked SaveFile() and OpenFile() methods obsolete (#113) #121

Closed vividos closed 5 years ago

vividos commented 5 years ago

Description of Change

This PR marks the SaveFile() and OpenFile() methods obsolete, as per #113. The following messages appear when one of the methods is used:

SaveFile: The SaveFile() method is obsolete; store the picked file with system functions from System.IO or read from stream directly

OpenFile: The OpenFile() method is obsolete; please use Xamarin.Essentials Launcher plugin. The FilePicker plugins just concentrates on picking files

@jfversluis After this PR is merged (or rebased) we could do a NuGet-beta package, as I don't have any more changes for the FilePicker plugin.

Issues Resolved

Platforms Affected

All.

jfversluis commented 5 years ago

Done! Beta package is here: https://www.nuget.org/packages/Xamarin.Plugin.FilePicker/2.1.11-beta

vividos commented 5 years ago

Thanks! Will test this with various apps I maintain.