Usage

Schedule a local reminder.

tsx
// Schedule a local reminder.
import { notifications, permissions } from 'kuito';

const { status } = await permissions.request('notifications');

if (status === 'granted')
  await notifications.schedule({ title: 'Your order shipped', url: 'shop://orders/42' });

Signatures

ts
(notification: ScheduledNotification): Promise<string>

Parameters

NameTypeRequiredDescription
notificationScheduledNotificationYes—

Returns

Promise<string>

Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.