frontend/src-tauri/NOTIFICATION_TESTING.md
To test if notifications are working, call this command from your frontend:
// This will initialize the notification system and show a test notification
await invoke('test_notification_with_auto_consent');
If you want to initialize the notification system manually:
// Initialize the notification system
await invoke('initialize_notification_manager_manual');
// Then show a test notification
await invoke('show_test_notification');
When you start recording, the app should automatically show a notification. The system will:
When working correctly, you should see:
Check macOS Notification Settings:
Check Do Not Disturb:
await invoke('get_system_dnd_status') to checkCheck Logs:
Manual Permission Request:
await invoke('request_notification_permission');
// System status
await invoke('is_notification_system_ready');
await invoke('get_system_dnd_status');
await invoke('get_notification_stats');
// Permissions and consent
await invoke('request_notification_permission');
await invoke('set_notification_consent', { consent: true });
// Testing
await invoke('test_notification_with_auto_consent');
await invoke('show_test_notification');
// Settings
await invoke('get_notification_settings');