Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"WhatsApp works with Safari 9+" #156

Open
ezgranet opened this issue Jul 3, 2019 · 8 comments
Open

"WhatsApp works with Safari 9+" #156

ezgranet opened this issue Jul 3, 2019 · 8 comments

Comments

@ezgranet
Copy link

ezgranet commented Jul 3, 2019

Running ChitChat 1.5 on MacOS Mojave 10.14.5 and recently encountered this issue screenshotted below, where WhatsApp is asking me to update safari 9+. (For reference, I currently have Safari 12.1.1 on my machine)

Screenshot 2019-07-02 at 20 07 09

@YankeeinFrance
Copy link

I have exactly the same problem and have found nothing on the net to resolve it. I also have Safari 11.11 on my iMac, so I should not be receiving the Safari 9+ message blocking use of WhatsApp on my desktop.

@wazowski78
Copy link

The solution is simple. The issue is this sentence in the app delegate:

//Whatsapp web only works with specific user agents
_webView._customUserAgent = @"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/600.7.12 (KHTML, like Gecko) Version/8.0.7 Safari/600.7.12";

You have to change the custom user agent for an actual one. Like this:

_webView._customUserAgent = @"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15";

@theophanemayaud
Copy link

Same problem here !

@wazowski78
Copy link

wazowski78 commented Jun 7, 2020 via email

@rogersillyface
Copy link

Hey Diego,

I guess I have to use the Github desktop?
Cheers,

R

@wazowski78
Copy link

wazowski78 commented Jun 7, 2020 via email

@shafin-salim
Copy link

Just remove whatsapp cookies from your browser and reload the website. It will start working again

@Belogvardeetc
Copy link

Hello. Same problem. safati Version 16.5 (18615.2.9.11.4). Unfortunately, I don't know how to write programs. Please tell me - how can I compile a program with the corrected file. Or better help compile the program with the right file so that it works. Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants