electron-windows-notifications
electron-windows-notifications copied to clipboard
Issue with Notification Icon
Hi, I m playing with this module. I am trying to set an Image to the Notification. It is working fine with the Dev environment, but after building the app and installing the app, the ICON is not there. I gave the path of image as string to the XML. My code for it is as follows let imagePath = path.join(__dirname, 'build/tray_icons.png');
<toast><visual><binding template="ToastImageAndText02"><image placement="AppLogoOverride" id="1" src="%s"/><text id="1">%s</text><text id="2">%s</text></binding></visual></toast>
,
strings: [imagePath,'Electron-Demo','Update available.']
I'd like to know what is the problem with my code.
Attaching the screenshot in Dev environment. The icon is not there with the notification for Production.
Thank you beforehand.
Hi @GeetaKrishnaAdhikari ,
I saw your post about the notification icon issue in Electron. Any updates on a solution?
Thanks,