Skip to main content

API overview

notification-kit has two entry points. This page lists every public export; the following reference pages document each in detail.

notification-kit

Classes and singletons

ExportKindReference
NotificationKitclass (singleton via getInstance())NotificationKit class
notificationsflat convenience APInotifications helper
FirebaseProviderclassFirebase provider
OneSignalProviderclassOneSignal provider

Managers and helpers

ExportPurpose
PermissionManager, permissionManager, permissionsProvider-agnostic permission API
PlatformManager, platformManager, platformPlatform detection + capabilities
StorageManager, storage, createStorageStorage abstraction
ValidationUtils, validatePayload validation
FormattingUtils, formatFormatting helpers
SchedulingUtilsSchedule construction helpers
InAppNotificationManager, showInAppNotification, dismissInAppNotification, dismissAllInAppNotifications, getActiveInAppNotifications, configureInAppNotifications, inAppIn-app notification control

Capacitor conversion utilities

toCapacitorImportance, fromCapacitorImportance, toCapacitorChannel, fromCapacitorChannel, toCapacitorLocalNotification, fromCapacitorLocalNotification, toPlatformCapabilities.

Constants and metadata

ExportWhat it is
versionThe package version string (build-time injected)
metadataName, author, license, keywords, supported platforms/frameworks/providers
quickStartOne-call initializers + shortcut actions
featuresFeature-flag map
compatibilityBrowser/mobile support matrix
devDebug helpers (enableDebug, getPlatformInfo, test.*, …)
default exportNotificationKit

Types

All public types are exported (NotificationConfig, FirebaseConfig, OneSignalConfig, ScheduleOptions, InAppOptions, NotificationChannel, PermissionStatus, the full event types, and more) — see Config & types and Events.

notification-kit/react

ExportKind
useNotificationshook
useInAppNotificationhook
useInAppNotificationSimplehook
useInAppNotificationQueuehook
useInAppNotificationPersistencehook
UseNotificationsState, UseNotificationsReturn, UseInAppNotificationState, UseInAppNotificationReturntypes

The React entry also re-exports core types and the in-app/validate/format/scheduling/permissions/storage/platform utilities for convenience. See React hooks reference.