twilio / twilio-video.js

Twilio’s Programmable Video JavaScript SDK
https://www.twilio.com/docs/video/javascript
Other
571 stars 217 forks source link

isSupported returns false for Chrome 97 #1683

Closed Galzk closed 2 years ago

Galzk commented 2 years ago

Just running the twilio-video-app-react project with the following user agent (vanilla chrome 97): Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Config/95.2.3421.22 I recommend using an extension that allow you to modify the user agent for simplicity, e.g: User-agent switcher (Chrome) User-agent switcher (FF)

Expected behavior:

Allow usage of chrome 97, as it is supported

Actual behavior:

Screen Shot 2022-01-25 at 15 00 56

Software versions:

Galzk commented 2 years ago

Additional information: This user agent is straight out of a chrome installation that runs without any extensions, it's my manager's (morrisdj) user-agent I can see that the difference is an added Config/95.2.3421.22 appended at the end of the string:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Config/95.2.3421.22

The first one works, and the second one works if I take out that last bit (config/...) We've had one more occasion where it happened to one of our customers, I could not find any more information regarding this Config addition, guess that's something new that the chrome team decided to add

I also notice that Whatsapp web gives a warning using this user agent (fyi)