feat: Enable APNS registration + notification delivery in macOS apps (#33574)

This commit is contained in:
Joan Xie
2022-07-12 08:38:49 -07:00
committed by GitHub
parent 5314ae5342
commit afd08c9450
11 changed files with 302 additions and 0 deletions

View File

@@ -225,6 +225,7 @@ declare namespace NodeJS {
}
_linkedBinding(name: 'electron_browser_power_monitor'): PowerMonitorBinding;
_linkedBinding(name: 'electron_browser_power_save_blocker'): { powerSaveBlocker: Electron.PowerSaveBlocker };
_linkedBinding(name: 'electron_browser_push_notifications'): { pushNotifications: Electron.PushNotifications };
_linkedBinding(name: 'electron_browser_safe_storage'): { safeStorage: Electron.SafeStorage };
_linkedBinding(name: 'electron_browser_session'): typeof Electron.Session;
_linkedBinding(name: 'electron_browser_screen'): { createScreen(): Electron.Screen };