Xamarin.Essentials: Media Picker is throwing an exception when I call OpenReadAsync() on a Video FileResult on iOS 14.2 after selecting a video from the phone's gallery. The exception is below.
System.UnauthorizedAccessException: Access to the path "/private/var/mobile/Containers/Data/PluginKitPlugin/Guid/tmp/trim.A86E56CE-0FF8-427D-AA7E-20E12441BA42.MOV" is denied
Steps to Reproduce
Use the media picker on an iOS phone running 14.2
Select a video
call OpenReadAsync();
Expected Behavior
The stream should open and read
Actual Behavior
an exception is thrown System.UnauthorizedAccessException
Description
Xamarin.Essentials: Media Picker is throwing an exception when I call OpenReadAsync() on a Video FileResult on iOS 14.2 after selecting a video from the phone's gallery. The exception is below.
System.UnauthorizedAccessException: Access to the path "/private/var/mobile/Containers/Data/PluginKitPlugin/Guid/tmp/trim.A86E56CE-0FF8-427D-AA7E-20E12441BA42.MOV" is denied
Steps to Reproduce
Expected Behavior
The stream should open and read
Actual Behavior
an exception is thrown System.UnauthorizedAccessException
Basic Information
Screenshots
Reproduction Link