-
-
Save icebeam7/4cad7171e2c4ab68d2712630f2c7dae0 to your computer and use it in GitHub Desktop.
Permisos de MediaPicker en Android, iOS y UWP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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