Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 488 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 488 Bytes

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