Package Details: whatsapp-nativefier 2.2337.7-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: 135
Popularity: 1.02
First Submitted: 2018-12-14 22:30 (UTC)
Last Updated: 2023-09-08 19:25 (UTC)

Pinned Comments

matejdro commented on 2023-10-06 04:51 (UTC)

Warning to all existing users: Nativefier is now unmaintained (https://github.com/nativefier/nativefier/issues/1577)

frealgagu commented on 2020-12-05 22:39 (UTC)

I maintain the latest built package at:

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

saulocastelo commented on 2020-03-29 10:46 (UTC)

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 8 9 10 11 .. 26 Next › Last »

frealgagu commented on 2021-09-17 16:47 (UTC)

@aquilarubra try building in a clean chroot, it works that way for me. Alternatively you can download an already built package from here:

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

Please don't flag the package as outdated, the method "Bypass for network mentioned in the pinned comments should work to avoid the Google Chrome 60+ issue.

aquilarubra commented on 2021-09-02 19:20 (UTC)

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

zegkljan commented on 2021-09-02 09:49 (UTC) (edited on 2021-09-02 09:52 (UTC) by zegkljan)

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 (UTC)

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

tywyqu commented on 2021-08-11 18:41 (UTC)

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

rixx commented on 2021-08-05 09:35 (UTC)

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 (UTC)

@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 (UTC) (edited on 2021-07-01 06:32 (UTC) by jaro3)

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 (UTC)

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 (UTC)

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?