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

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

As a cross platform developer, I want the same behavior for all platforms #189

Closed de-wolff closed 4 years ago

de-wolff commented 4 years ago

Expected Behavior

On all platform I want to be able to use FileData fileData = await CrossFilePicker.Current.PickFile( new string[] { "*.json" });

Actual Behavior

On windows I have to use FileData fileData = await CrossFilePicker.Current.PickFile( new string[] { "Jsontype (*.json)|*.json" }); On uwp I have to use FileData fileData = await CrossFilePicker.Current.PickFile( new string[] { "*.json" }); On anroid I have to use FileData fileData = await CrossFilePicker.Current.PickFile( new string[] { "text/json" }); On IOs I have to use FileData fileData = await CrossFilePicker.Current.PickFile( new string[] { UTType.JSON });

jfversluis commented 4 years ago

Closing this since this project will retire, please check out Xamarin.Essentials which now has a FilePicker based on this one.