Ferdi: WhatsApp does not load in 5.5.0-gm

Created on 19 Apr 2020  ·  3Comments  ·  Source: getferdi/ferdi

" are comments from us and won't be
visible in your bug report, so please don't put any text in them.
-->
Describe the bug
WhatsApp service only blinks "WhatsApp works only with Google Chrome 49+" in endless loop. With 5.4.3 there is no such issue.

To Reproduce

Steps to reproduce the behavior:

  1. Install 5.5.0-gm on MacOS
  2. Run Ferdi
  3. Open WhatsApp service

Expected behavior
WhatsApp loads properly like in 5.4.3.

Screenshots

https://youtu.be/LdUtIxV9i_I

Desktop:


Debug information: https://debug.getferdi.com/35dd02af-1e79-4c25-b2ac-a8d0277aecea

duplicate

Most helpful comment

Seems to be (again) a user agent problem.
find .../Ferdi/recipes/whatsapp/index.js and replace like this:

"use strict";

module.exports = Franz => class Messenger extends Franz {
  overrideUserAgent() {
    //return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, '');
    return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36";
  }

};

not a perfect fix but hotfixed it for me.
restart ferdi to see effect

All 3 comments

Seems to be (again) a user agent problem.
find .../Ferdi/recipes/whatsapp/index.js and replace like this:

"use strict";

module.exports = Franz => class Messenger extends Franz {
  overrideUserAgent() {
    //return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, '');
    return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36";
  }

};

not a perfect fix but hotfixed it for me.
restart ferdi to see effect

Confirm that. After simple upgrade from previous version both Whatsapp services stopped working.

@hiddenman @Jendker @mokipedia We have identified the issue, working on it (see https://github.com/getferdi/ferdi/issues/536#issuecomment-616093384)! 🙏 Thank you for your patience.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

probablykasper picture probablykasper  ·  4Comments

sbienkow picture sbienkow  ·  3Comments

gmarec picture gmarec  ·  4Comments

AP-Hunt picture AP-Hunt  ·  3Comments

ammarmalhas picture ammarmalhas  ·  3Comments