I'm developing a Xamarin Forms Application, and I needed to add a photo from the camera or the gallery. After a lot of research on the Internet, I tested some examples, but they didn't work due to new permissions and changes in the latest versions of Android.

Then then I finally found this :

 

Media Plugin for Xamarin and Windows

https://github.com/jamesmontemagno/MediaPlugin

 

Everything works as expected! Just don't forget to follow the instructions to give all the required permissions and make all the changes needed, and everything will be fine!

https://github.com/jamesmontemagno/MediaPlugin#important-permission-information

Comments powered by CComment