Package Details: whatsapp-nativefier 2.2142.12-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: 111
Popularity: 4.04
First Submitted: 2018-12-14 22:30
Last Updated: 2021-11-02 21:01

Pinned Comments

frealgagu commented on 2020-12-05 22:39

I maintain the latest built package at:

https://github.com/frealgagu/archlinux.whatsapp-nativefier/releases/

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 »

aquilarubra commented on 2021-09-02 19:20

Doesn't build. Error: Failed to locate module "electron-context-menu"

zegkljan commented on 2021-09-02 09:49

The package build fails for me:

$ makepkg -si
...
==> Entering fakeroot environment...
==> Starting package()...
sed: can't read /tmp/whatsapp-nativefier/src//resources/app/lib/preload.js: No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

It works if I use print $8 instead of print $9 on lines 44 and 45 of PKGBUILD, or if I drop the awk completely and use just ls without -l. Why is ls -l used instead of just ls anyway? None of the extra info is utilized.

frealgagu commented on 2021-08-16 17:33

@tywyqu Application is shown in tray? that's the correct way to close the app.

tywyqu commented on 2021-08-11 18:41

App continues to work in background after force closing it. Any way to elegantly kill it?

rixx commented on 2021-08-05 09:35

My current state is that with the pinned workaround, I get a "Browser not supported" message, and without it, I get the update prompt ("WhatsApp works with Google Chrome 60+"). Does anybody have a solution for this?

frealgagu commented on 2021-07-09 23:22

@jaro3 what AUR helper are you using? it looks like an error caused in package nodejs-nativefier, not in this. Error is clear that yargs only supports nodejs greater than 12, so, you need to install a nodejs version accordingly.

jaro3 commented on 2021-07-01 06:31

doesn't build ;-;

Error: yargs supports a minimum Node.js version of 12. Read our version support policy: https://github.com/yargs/yargs#supported-nodejs-versions
    at Object.<anonymous> (/usr/lib/node_modules/nativefier/node_modules/yargs/build/index.cjs:1:55294)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/usr/lib/node_modules/nativefier/node_modules/yargs/index.cjs:5:30)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
==> ERROR: A failure occurred in build().
    Aborting...

nodejs-nativefier 44.0.2-2 is installed

Superjolly002 commented on 2021-06-26 11:06

Hi, today I get a particular error: onReady ERROR Error: ERR_FAILED (-2) loading 'https://web.whatsapp.com/' at rejectAndCleanup (electron/js2c/browser_init.js:213:985) at Object.stopLoadingListener (electron/js2c/browser_init.js:213:1360) at Object.emit (events.js:315:20) { errno: -2, code: 'ERR_FAILED', url: 'https://web.whatsapp.com/' }

Someone know what can I do?

awilliamson commented on 2021-06-25 18:36

As of 2.2121.6-1 I now get 'Unsupported Browser'. This was the change which set the browser agent to Safari. "Bypass for Network" fix from previous issues doesn't fix this one. Any suggestions?

Cantello commented on 2021-06-21 14:01

Thanks for this package! Any way to get unread badges on KDE?