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
Comments
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. |
The solution is simple. The issue is this sentence in the app delegate:
You have to change the custom user agent for an actual one. Like this:
|
Same problem here ! |
Don’t worry, no question is stupid. This is the file you have to edit:
https://github.com/stonesam92/ChitChat/blob/master/WhatsMac/AppDelegate.m <https://github.com/stonesam92/ChitChat/blob/master/WhatsMac/AppDelegate.m>
Look for the line 101 and edit the user agent value with a new one.
That’s all.
El 7 jun 2020, a las 12:06, roryjmurphy ***@***.***> escribió:
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";
Hey There,
Stupid question maybe... How would we change the app delegate? I have hunted around in the app and prefs - but have found nothing..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#156 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABNDQQO2RFESA2ELINESHK3RVNRATANCNFSM4H5BO4UA>.
Diego Jimenez
|
Hey Diego, I guess I have to use the Github desktop? R |
Hi again.
Well… it is up to you, you can use GitHub desktop, Xcode Download or Zip Download. Any of them will let you see the source code and edit the part of code you want or need.
El 7 jun 2020, a las 15:40, roryjmurphy ***@***.***> escribió:
Hey Diego,
I guess I have to use the Github desktop?
Cheers,
R
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#156 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABNDQQJERN4OO2QAWVVJC5LRVOKFVANCNFSM4H5BO4UA>.
Diego Jimenez
|
Just remove whatsapp cookies from your browser and reload the website. It will start working again |
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! |
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)
The text was updated successfully, but these errors were encountered: