Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Permisos de MediaPicker en Android, iOS y UWP
Android
Añade al AndroidManifest.xml los siguientes permisos:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
iOS
Añade al Info.plist los siguientes permisos:
<key>NSCameraUsageDescription</key>
<string>This app needs access to the camera to take photos.</string>
<key>NSMicrophoneUsageDescription</key>
<string>This app needs access to microphone for taking videos.</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>This app needs access to the photo gallery for picking photos and videos.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>This app needs access to photos gallery for picking photos and videos.</string>
UWP
Agrega las Capabilities Microphone y Webcam en Package.appxmanifest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment