I use image picker and gallery saver in my project. But I don't know how to give permission for iOS I know how add permission in Android but I can't understand where I put permission and what permission I want for camera and gallery. I completed Android permission but I don't know how I put permission on iOS.
Asked
Active
Viewed 78 times
0
-
1Does this answer your question? [How to add camera permissions into flutter project?](https://stackoverflow.com/questions/59374824/how-to-add-camera-permissions-into-flutter-project) – ajith Kumark Jul 26 '23 at 11:53
2 Answers
0
Open the Info.plist file in the ios/Runner folder of your Flutter project.
Add the following keys to the Info.plist file:
<dict>
<!-- Other keys and configurations... -->
<key>NSCameraUsageDescription</key>
<string>Your app needs access to the camera to take photos and videos.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Your app needs access to the photo library to select photos and videos.</string>
</dict>

Darshan Kachhadiya
- 282
- 6