Official Plugins
The Official Plugins are a set of Capacitor plugins maintained by the Capacitor team that provide access to commonly used native APIs.
The API documentation for these plugins can be found below.
Versioningโ
npm Tags (latest and latest-X)โ
Capacitor provides special npm distribution tags to make installing compatible plugin versions easier.
- The
latesttag installs the most recent plugin version available. - Use
latest-X(for example,latest-7) to install the most recent version of official Capacitor plugins compatible with Capacitor X. - These tags express Capacitor version compatibility, not the plugin's own version number. A plugin may be at v2 or v3 and still be the correct release for
latest-7. - These tags are intended for use in
npm installcommands and will resolve to the appropriate range in yourpackage.json. - This tagging convention applies to official Capacitor plugins and may not be consistently supported by community plugins.
Example:
npm install @capacitor/camera@latest
# example: v8.0.1
npm install @capacitor/device@latest-7
# example: v7.0.2
List of Official Pluginsโ
- Action Sheet
- App Launcher
- App
- Background Runner
- Barcode Scanner
- Browser
- Camera
- Clipboard
- Cookies
- Device
- Dialog
- Filesystem
- File Transfer
- File Viewer
- Geolocation
- Google Maps
- Haptics
- Http
- InAppBrowser
- Keyboard
- Local Notifications
- Motion
- Network
- Preferences
- Privacy Screen
- Push Notifications
- Screen Orientation
- Screen Reader
- Share
- Splash Screen
- Status Bar
- System Bars
- Text Zoom
- Toast
- Watch ๐งช
GitHubโ
You can find the source for these plugins on GitHub.