Implement notifications on iOS

This commit is contained in:
James Babcock committed 2026-09-19 11:07:37 -07:00
1 parent 64bf600ef9
commit 67823f66ef
19 files changed
+540 -65

No files matched your search

+2 -22
View File
@@ -28,28 +28,8 @@ function invalidateIconCaches(): void {
keyedIconCache.clear();
}
export type AndroidNotificationAction = {
index: number;
title: string;
enabled: boolean;
};
export type AndroidNotification = {
key: string;
packageName: string;
appName: string;
title: string;
text: string;
bigText: string;
subText: string;
infoText: string;
summaryText: string;
category: string;
lines: string[];
postTime: number;
when: number;
actions: AndroidNotificationAction[];
};
import type { AndroidNotification, AndroidNotificationAction } from "./notification-types";
export type { AndroidNotification, AndroidNotificationAction } from "./notification-types";
export type NotificationIconsResult = {
icons: GrayImage[];