I tried both Notification from electron and basic Notifications API - in both cases when the app is packaged there is no notifications permission window when running application and therefore notifications are not working (even though there are no errors shown in the application itself).
When running from dev mode - both options work as expected (I am prompted to enable notifications when running app, and after enabling permissions they are appearing as expected)
const { app, BrowserWindow, ipcMain, Notification, nativeImage } = require("electron");
I tried both Notification from electron and basic Notifications API - in both cases when the app is packaged there is no notifications permission window when running application and therefore notifications are not working (even though there are no errors shown in the application itself).
When running from dev mode - both options work as expected (I am prompted to enable notifications when running app, and after enabling permissions they are appearing as expected)