You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
701 B
21 lines
701 B
/**
|
|
* Daily Notification Plugin for Capacitor
|
|
* @module DailyNotification
|
|
*/
|
|
|
|
import { registerPlugin } from '@capacitor/core';
|
|
import type { DailyNotificationPlugin } from './definitions';
|
|
import { DailyNotificationWeb } from './web';
|
|
import { observability, EVENT_CODES } from './observability';
|
|
|
|
const DailyNotification = registerPlugin<DailyNotificationPlugin>('DailyNotification', {
|
|
web: async () => new DailyNotificationWeb(),
|
|
});
|
|
|
|
// Initialize observability
|
|
observability.logEvent('INFO', EVENT_CODES.FETCH_START, 'Daily Notification Plugin initialized');
|
|
|
|
export * from './definitions';
|
|
export * from './callback-registry';
|
|
export * from './observability';
|
|
export { DailyNotification };
|
|
|