diff --git a/src/Essentials/src/FilePicker/FilePicker.android.cs b/src/Essentials/src/FilePicker/FilePicker.android.cs index 093bff802c96..386c32185bf3 100644 --- a/src/Essentials/src/FilePicker/FilePicker.android.cs +++ b/src/Essentials/src/FilePicker/FilePicker.android.cs @@ -11,10 +11,6 @@ public static partial class FilePicker { static async Task> PlatformPickAsync(PickOptions options, bool allowMultiple = false) { - // we only need the permission when accessing the file, but it's more natural - // to ask the user first, then show the picker. - await Permissions.EnsureGrantedAsync(); - // Essentials supports >= API 19 where this action is available var action = Intent.ActionOpenDocument; diff --git a/src/Essentials/src/MediaPicker/MediaPicker.android.cs b/src/Essentials/src/MediaPicker/MediaPicker.android.cs index 1785d9b0baf3..0c4959641262 100644 --- a/src/Essentials/src/MediaPicker/MediaPicker.android.cs +++ b/src/Essentials/src/MediaPicker/MediaPicker.android.cs @@ -20,10 +20,6 @@ static Task PlatformPickVideoAsync(MediaPickerOptions options) static async Task PlatformPickAsync(MediaPickerOptions options, bool photo) { - // We only need the permission when accessing the file, but it's more natural - // to ask the user first, then show the picker. - await Permissions.EnsureGrantedAsync(); - var intent = new Intent(Intent.ActionGetContent); intent.SetType(photo ? FileSystem.MimeTypes.ImageAll : FileSystem.MimeTypes.VideoAll);