5

I'm a bit confused using the PermissionPlugin, in connection with the MediaPlug, for Xamarin.Forms. I'm building functionality to allow a user to select an existing picture from their device to use in my app. (The MediaPlugin handles that part fine).

My confusion is that the permissions enum contains both Photos and MediaLibrary values, and I'm not sure which one to use or if I need to request both. The app is targing Android, iOS and UWP, so if it is different between platforms I'd like to know that as well.

What is the difference between those values, and which one(s) do I need for each platform?

Andy
  • 8,432
  • 6
  • 38
  • 76

1 Answers1

10

according to the release notes for 2.1.0

Add MediaLibrary permission for iOS's MPMediaLibrary

which is used for the Music library, not photos

Jason
  • 86,222
  • 15
  • 131
  • 146