Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notifications are not shown, when the app is packaged (exe) #190

Open
katepysova opened this issue Aug 5, 2024 · 0 comments
Open

Notifications are not shown, when the app is packaged (exe) #190

katepysova opened this issue Aug 5, 2024 · 0 comments
Assignees

Comments

@katepysova
Copy link

katepysova commented Aug 5, 2024

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)

@erickzhao erickzhao self-assigned this Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants