UNPKG

notification-kit

Version:

A unified notification library for React + Capacitor apps. One API for push notifications, in-app notifications, and local notifications across Web, iOS, and Android.

17 lines 971 B
import { Platform } from '../types'; export declare class DynamicLoader { private static loadedModules; private static loadingPromises; static isCapacitorAvailable(): boolean; static loadCapacitorCore(): Promise<typeof import('@capacitor/core') | null>; static loadPushNotifications(): Promise<typeof import('@capacitor/push-notifications') | null>; static loadLocalNotifications(): Promise<typeof import('@capacitor/local-notifications') | null>; static loadPreferences(): Promise<typeof import('@capacitor/preferences') | null>; static loadFirebase(): Promise<typeof import('firebase/app') | null>; static loadFirebaseMessaging(): Promise<typeof import('firebase/messaging') | null>; static loadOneSignal(): Promise<typeof import('react-onesignal') | null>; static getPlatform(): Promise<Platform>; static isNativePlatform(): Promise<boolean>; static clearCache(): void; } //# sourceMappingURL=dynamic-loader.d.ts.map