I use Xam.Plugin.Media Camera option. My app takes photo and uploads this photo to remote server. I want the user to choose whether can save the picture or not save on phone while they use Xam.Plugin.Media Camera option. So I did a basic ui for this. After the user's choice, I set SaveToAlbum (true or false) It works on iOS good. But on android it doesn't work on SD card.
After taking photo using " await CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions { } ) ", the following cases are belowing:
- If "SaveToAlbum = true" and phone camera setting is SD card, Xam.Plugin.Media is save photo twice, one to internal storage and one to SD card. (it should save one photo just internal storage)
- If "SaveToAlbum = true" and phone camera setting is internal storage, Xam.Plugin.Media is save photo twice, just internal storage. (it should save one photo just internal storage)
- If "SaveToAlbum = false" and phone camera setting is SD card, Xam.Plugin.Media is save photo once, just SD card. (it should never save)
- If "SaveToAlbum = false" and phone camera setting is internal storage, Xam.Plugin.Media is save photo once, just internal. (it should never save)
How can i fix this? Thank you.