Skip to main content

Napacitor APIs

The official Napacitor plugins wrap .NET MAUI native APIs with a consistent, promise-based JavaScript interface. Each plugin is an npm package under the @napacitor/* scope with a C# [NapacitorPlugin] implementation that runs unchanged on Android, iOS, macOS, and Windows.

PluginDescription
Action SheetNative action sheets from the bottom of the screen (Page.DisplayActionSheet).
AppHigh-level app state and events: lifecycle, deep links, language, exiting.
App ActionsQuick actions on the app icon (Android App Shortcuts, iOS Quick Actions, Windows jump lists).
App InfoGeneral information about the app (AppInfo, VersionTracking).
App LauncherOpen other apps, URLs, and maps (Launcher, Map).
BatteryBattery level and charging state (Battery Essentials API).
BrowserIn-app browser sessions (Android Custom Tabs, iOS SFSafariViewController).
CameraTake photos, record videos, and pick media from the library (MediaPicker).
ClipboardCopy to and paste from the system clipboard.
ConnectivityNetwork state and connectivity change events.
ContactsRead all contacts and pick a contact with the system picker (Contacts).
Database SQLiteLocal SQLite database: tables, CRUD, transactions (Microsoft.Data.Sqlite).
DeviceDevice model, platform, OS version, language, and locale.
DialogNative dialogs for alerts, confirmations, and prompts.
DisplayScreen metrics, display change events, keep-awake, and orientation locking.
EmailOpen the system mail composer.
File ViewerOpen files with the system viewer.
FilesystemApp directories, bundled files, and the system file picker (FileSystem, FilePicker).
FlashlightControl the device's flashlight (torch).
GeolocationGet and track the device's position with GPS.
HapticsHaptic and vibration feedback.
MotionAccelerometer, gyroscope, magnetometer, compass, and barometer sensors.
Phone DialerOpen the system dialer to place a call.
PreferencesSimple key/value persistent store for lightweight data.
SecurityStore sensitive values with OS-level security (iOS Keychain / Android Keystore / Windows DPAPI).
ShareShare content with the system share sheet.
SMSOpen the system SMS composer.
info

Don't see what you need? Build your own plugin — one C# class marked [NapacitorPlugin] plus a TypeScript API definition. Start with the Creating Plugins guide or the plugin tutorial.