Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PermissionsPlugin - Photos vs Media Library?

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?

like image 271
Andy Avatar asked Jul 09 '19 18:07

Andy


People also ask

What is Media Library on Iphone?

The Media Library framework provides a read-only Objective-C data model representing a user's collections of images, audio, and video. The initial access point of the Media Library framework is MLMediaLibrary , which loads the user's media into a hierarchical structure consisting of media sources, groups, and objects.

How do I access the media library in WordPress?

To visit your WordPress Media Library, expand the Media menu from the WordPress Dashboard. The Media Library page will show all of the media items you currently have in your media library. To add a new media item to your library, click the Add New link.


1 Answers

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

like image 131
Jason Avatar answered Sep 20 '22 12:09

Jason