Hello,
Welcome to Microsoft Q&A!
Did you try to debug on the value UploadPhoto
to see if it has value or not ?
Try to set Directory
and Name
in StoreCameraMediaOptions
to make sure that the image is saved into album successfully.
var file = await CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions
{
Directory = "Sample",
Name = "test.jpg"
});
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.