Package Details: whatsapp-nativefier 2.3000.1017392363-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: 136
Popularity: 1.89
First Submitted: 2018-12-14 22:30 (UTC)
Last Updated: 2024-10-16 17:54 (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 .. 19 20 21 22 23 24 25 26 Next › Last »

rplanchuelo commented on 2018-12-15 10:18 (UTC)

Thanks. It's great. It would be interesting to include all the options of "new message" notifications (red dot in system tray icon)

frealgagu commented on 2018-12-14 22:32 (UTC) (edited on 2018-12-14 22:37 (UTC) by frealgagu)

I've created a package which include the fix for whatsapp using nativefier. Also I've added the icon from the webpage https://www.whatsapp.com/favicon.png and added the option to use in tray. Thanks @Frikinux for your collaboration.

https://aur.archlinux.org/packages/whatsapp-nativefier/

Frikinux commented on 2018-12-14 20:16 (UTC) (edited on 2018-12-14 21:21 (UTC) by Frikinux)

On the other hand, to make it more user-friendly, it is possible to add the option to start (and use it) minimized in the system tray.

Once installed, edit the file:

/opt/whatsapp-web/resources/app/nativefier.json

and change "tray":false for "tray":"start-in-tray" (with quotes)

I recommend changing or editing too /opt/whatsapp-web/resources/app/icon.png with an image editor (like GIMP) to make the white background transparent (in format png).

It would be interesting to include all the options of "new message" notifications (red dot in system tray icon) in the version of https://github.com/Enrico204/Whatsapp-Desktop

The above can be added before installing in PKGBUILD as nativefier option: --tray "start-in-tray" \

I hope that helps. Greetings!

Frikinux commented on 2018-12-14 19:53 (UTC) (edited on 2018-12-14 20:22 (UTC) by Frikinux)

Hi! I've created a quick-fix based on nativefier injection (mentioned in https://github.com/jiahaog/nativefier/issues/719) for "WhatsApp works with Google Chrome 36+" error.

The error will disappear and the fix will survive at each start.

Create a archive named: inject.js

With the following content:

if (document.body.innerText.replace(/\n/g, ' ').search(/whatsapp works with.*to use whatsapp.*update/i) === 0)
    navigator.serviceWorker.getRegistration().then(function (r) { r.unregister(); document.location.reload() });

Save it in /opt/whatsapp-web/resources/app/inject/ folder.

The complete file path is therefore: /opt/whatsapp-web/resources/app/inject/inject.js

I hope it helps. Maybe it would be interesting to include it in the PKGBUILD for next versions. Enjoy it!

StreakyCobra commented on 2018-12-13 07:55 (UTC)

It seems related to nodejs-nativefier (https://github.com/jiahaog/nativefier/issues/719)

jfernandz commented on 2018-12-12 16:24 (UTC)

We must flag the package, then.

divansantana commented on 2018-12-12 10:26 (UTC)

Seems that workaround, only works once. Then one needs to delete that dir everytime and relink the phone...

divansantana commented on 2018-12-12 10:23 (UTC)

just rm -rf .config/whats*

frealgagu commented on 2018-12-06 18:20 (UTC)

WhatsApp desktop shows "WhatsApp works with Google Chrome 36+", maybe something related with nativefier or the version of electron appears to be an outdated Chrome?

frealgagu commented on 2018-11-29 16:31 (UTC)

@tembleking please add --tray to nativefier instruction in order to add the system tray icon. Thanks.