iOS setup
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
The plugin does not inject usage descriptions. For each PermissionName you call, add matching keys to ios/App/App/Info.plist:
| Permission | Info.plist keys |
|---|---|
camera | NSCameraUsageDescription |
microphone | NSMicrophoneUsageDescription |
photoLibrary | NSPhotoLibraryUsageDescription |
photoLibraryAddOnly | NSPhotoLibraryAddUsageDescription |
contacts | NSContactsUsageDescription |
calendar | NSCalendarsUsageDescription, NSCalendarsFullAccessUsageDescription |
reminders | NSRemindersUsageDescription, NSRemindersFullAccessUsageDescription |
locationWhenInUse | NSLocationWhenInUseUsageDescription |
locationAlways | NSLocationWhenInUseUsageDescription, NSLocationAlwaysAndWhenInUseUsageDescription |
bluetooth | NSBluetoothAlwaysUsageDescription |
motion | NSMotionUsageDescription |
speechRecognition | NSSpeechRecognitionUsageDescription, NSMicrophoneUsageDescription |
appTrackingTransparency | NSUserTrackingUsageDescription |
notifications uses the system notification permission flow. Android-only names such as activityRecognition, phone, and sms return unavailable on iOS.
Apply keys from the plugin package:
node node_modules/@capgo/capacitor-permissions/scripts/apply-permissions.mjs \ --project . \ --permissions camera,microphone,notifications,locationWhenInUse,photoLibraryPoint --project at your Capacitor app root (the folder that contains ios/ and android/).