Nativefier: Whatsapp on Nativefier doesn't show notifications

Created on 11 May 2020  路  4Comments  路  Source: jiahaog/nativefier

Bug description
I've made a Whatsapp Web through nativefier. I receive the notification sound, but It doesn't show any notification popup.

Steps to reproduce
Give your full nativefier command, with the --verbose flag, on a public site:

  1. Run "nativefier --name "Whatsapp" --inject "dark.css" https://web.whatsapp.com
  2. Connect your Whatsapp account

(The dark.css is from here: https://github.com/dcferreira/franz-themes/blob/master/whatsapp/darkmode.css)

Expected behavior
When I receive a message, It should appear as a notification.

Actual behavior
When I receive a message, It just make sound but no notification appears.

Context

  • Nativefier: 8.0.7
  • Node.js: 12.16.3
  • Npm: 6.14.4
  • OS: Fedora 32 Workstation
  • Is it a regression? I have a Whatsapp web packaged through Nativefier 7 that has notification working (but I get a lot of other bugs in that version)
bug

Most helpful comment

Hi. I just released Nativefier v9.0.0, which includes the above-mentioned commit. Closing, feel free to re-open if the issue persists.

All 4 comments

Same problem here.

OS: Manjaro 20.0.1
Node.js 14.2.0

Same problem, I'm using Whatsapp-web and Trello.
Nativefier 8.0.7.
node 12.18.
Pop os 20.04
But it seems that has already been solved, but not released. #955

Yes notifications are still broken in 8.0.7 for me too. This is a workaround after install:
sudo sed -i "s/const newNotify =.*/const newNotify = function (title, opt) {/" /opt/YOUR-FOLDER/resources/app/lib/preload.js
But this commit is already in master.....why is there no release with this commit?

Hi. I just released Nativefier v9.0.0, which includes the above-mentioned commit. Closing, feel free to re-open if the issue persists.

Was this page helpful?
0 / 5 - 0 ratings