Committed by
GitHub
Merge pull request #435 from AdityaBirangal/patch-1
fix: Example - iOS Keys
Showing
1 changed file
with
10 additions
and
0 deletions
| @@ -38,6 +38,16 @@ NSCameraUsageDescription - describe why your app needs access to the camera. Thi | @@ -38,6 +38,16 @@ NSCameraUsageDescription - describe why your app needs access to the camera. Thi | ||
| 38 | **If you want to use the local gallery feature from [image_picker](https://pub.dev/packages/image_picker)** | 38 | **If you want to use the local gallery feature from [image_picker](https://pub.dev/packages/image_picker)** |
| 39 | NSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor. | 39 | NSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor. |
| 40 | 40 | ||
| 41 | + Example, | ||
| 42 | + ``` | ||
| 43 | + <key>NSCameraUsageDescription</key> | ||
| 44 | + <string>This app needs camera access to scan QR codes</string> | ||
| 45 | + | ||
| 46 | + <key>NSPhotoLibraryUsageDescription</key> | ||
| 47 | + <string>This app needs photos access to get QR code from photo library</string> | ||
| 48 | + ``` | ||
| 49 | + | ||
| 50 | + | ||
| 41 | ### macOS | 51 | ### macOS |
| 42 | Ensure that you granted camera permission in XCode -> Signing & Capabilities: | 52 | Ensure that you granted camera permission in XCode -> Signing & Capabilities: |
| 43 | 53 |
-
Please register or login to post a comment