Closed SudoVanilla closed 2 years ago
This should fix #52
We are already overriding user agent https://github.com/ankurk91/google-chat-electron/blob/76318c710f4fb8bb17636877b03e83480306e291/src/main/features/userAgent.ts#L7
We are using Firefox user agent string here.
I have merged your commits locally, but with Firefox user agent.
But the issue still not fixed for me, i am still getting same error upon login.
Uh, the user agent I used works for me. Confirmed on Windows 7, macOS, and Linux.
Follow these steps:
/home/ankur/.config/google-chat-electron
Looks like google is also checking several other things not just User Agent. There is no easy way to spoof Google.
Ah I see the issue. I didn't full test.
I "resolved" the issue on my end though, I originally came to this thread from Hamsket:
Follow up: I weirdly got it to work now!
I first tried just reloading the tab and then restarting Hamsket a few times, which didn't help. Then I tried clearing the cache and restarting Hamsket, after which I entered the full email address (including @gmail.com, which I don't think I did before).
Not sure what precisely the magic step was, but probably the clearing the cache, restarting Hamsket, and entering the full address procedure taken together (possibly several times) is a tip worth trying.
macOS (Working):
Linux (Working):
Windows 7 (Working):