Skip to content

jayordway/capacitor-permissions

Repository files navigation

capacitor-permissions

Check and request permissions with a Capacitor plugin

Supported Permissions:

  • Camera ("camera")
  • Photo Library ("photos")
  • Notification ("notifications")
  • Write to External Files ("file-write")
  • Read External Files
  • Geolocation ("geolocation")

Supporting:

  • ✅ iOS
  • ✅ Android

Install

npm i capacitor-permissions
npx cap sync

Methods

request

Request permissions

query

Check if permission is granted

Licence

MIT