Package Details: whatsapp-nativefier 2.2027.10-1

Git Clone URL: https://aur.archlinux.org/whatsapp-nativefier.git (read-only, click to copy)
Package Base: whatsapp-nativefier
Description: WhatsApp desktop built with nativefier (electron)
Upstream URL: https://web.whatsapp.com
Licenses: custom
Submitter: frealgagu
Maintainer: frealgagu
Last Packager: frealgagu
Votes: 77
Popularity: 4.34
First Submitted: 2018-12-14 22:30
Last Updated: 2020-07-08 19:49

Pinned Comments

saulocastelo commented on 2020-03-29 10:46

Hey guys,

I created the original fix.

And now I share another way to use whatsapp web on nativefier. No code injection required.

Pressing ctrl+shift+i (on Linux) and the Devtools window will open. Then click on Application -> Service Workers And check the option Bypass for network.

Now press ctrl+r to reload. And ctrl+shift+i to close the Devtools.

Whenever you open your whatsapp the problem will occur, but since the Bypass for network option has already been enabled, you only need to press ctrl+shift+i (open devtools), ctrl+r (reload), ctrl+shift+i (close devtools)

@frealgagu, thanks for your work. This package was in my list as one of required apps to be installed after install Arch. I saw your last update ( document.querySelector("a[href='https://support.google.com/chrome/answer/95414']") ), NICE/GREAT/GOOD!

Another way to do the same in 2 lines: document.querySelector("a[href='https://support.google.com/chrome/answer/95414']") && navigator.serviceWorker.getRegistration().then(r => r.unregister() && document.location.reload());

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

Sgt_Skinner commented on 2020-07-17 17:20

Hi, I don't know if I should ask this here. Can you please add an option to close WhatsApp without having to right click the icon in the system tray?

mac_arch commented on 2020-07-10 16:12

I am having a problem in here:

When I fix the icon in the system tray with: --electron-version 9.0.2 \

the problem with Tray icon left click behavior problem arise, so I use the fix --electron-version 9.0.3 \ but icon dissappears again.

Any way of having these two issues solved?

sispus commented on 2020-07-08 16:44

Tray icon left click behavior won't work properly. To fix, this should be added to the nativefier command after --name line in the PKGBUILD: --electron-version 9.0.2 \

franciscocpg commented on 2020-07-08 14:39

Hello.

I'm the maintainer of the package https://aur.archlinux.org/packages/whatsapp-nativefier-dark/. Just want to inform that I'm deprecating that package in favor of this one because now WhatsApp has released the option to use the dark theme. Just go to settings -> theme and choose the dark theme.

frealgagu commented on 2020-06-19 15:57

@bakgwailo I don't understand why the bug continues appearing to you. The fix in dark version you mentioned was adjusted also in this version two months before than the dark version (thanks to @The-Compiler).

https://aur.archlinux.org/cgit/aur.git/commit/?h=whatsapp-nativefier&id=800d8e355aafe722261ea074d987936b65102546

Please try to uninstall the package completely then removes the temporal files and verify that the folder /opt/whatsapp-nativefier/ is either empty or non-existent. Then install it again and check if the issue continues.

bakgwailo commented on 2020-06-19 04:31

So, I think in the dark version they fixed the Chrome upgrade message in this commit:

https://aur.archlinux.org/cgit/aur.git/commit/?h=whatsapp-nativefier-dark&id=523a9bc0c10edf972ce537b74241e5c3d21b313e

I get it probably every day at this point, and have to go into dev tools and clear the cache/reload the page to get it working again (which almost always then requires a re-auth).

sispus commented on 2020-06-05 10:25

I still can't get notifications.

edit: its a nativefier problem. after build, doing 'sed -i "s/const newNotify =.*/const newNotify = function (title, opt) {/" YOUR_DIRECTORY/resources/app/lib/preload.js' fixes it. https://github.com/jiahaog/nativefier/issues/956

nemSoma commented on 2020-05-29 07:16

The tray icon disappears on GNOME after locking and unlocking the screen. See this issue on Github: https://github.com/jiahaog/nativefier/issues/945 There is a solution at the end of the page. This should be added to the nativefier command in the PKGBUILD: --electron-version 7.2.4

Capayo commented on 2020-05-13 12:07

I was unable to build the package, as a source file was missing:

sed: can't read /home/q/AUR/whatsapp-nativefier/src/whats-app-linux-x64/resources/app/lib/preload.js: No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

Removing sed -i -e "/loglevel/d" "${srcdir}/${_folder}/resources/app/lib/preload.js" from the PKGBUILD fixed it for me.

bakgwailo commented on 2020-05-07 03:52

Seems not to work now and asks to upgrade to Chrome 49.