Chrome on the Motorola Edge Plus phone is being parsed as Microsoft Edge
JonnyWong16 opened this issue · 2 comments
JonnyWong16 commented
The user agent for mobile Chrome 84.0.414789 on the Motorola Edge Plus phone is being parsed as Microsoft Edge.
User agent:
Mozilla/5.0 (Linux; Android 10; motorola edge plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Mobile Safari/537.36
{
"name": "Microsoft Edge",
"version": null,
"layout": "EdgeHTML",
"prerelease": null,
"os": "Android 10",
"manufacturer": "Motorola",
"product": "Motorola",
"description": "Microsoft Edge on Motorola (Android 10)",
"ua": "Mozilla/5.0 (Linux; Android 10; motorola edge plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Mobile Safari/537.36"
}
Reference: Tautulli/Tautulli-Issues#264
bnjmnt4n commented
Thanks for the report. I'll look into how we approach our handling of this given that Edge is used pretty commonly in product names these days (eg. Galaxy SX Edge).
cruizba commented
Hello @bnjmnt4n , we are doing this workaround in our project to allow Motorola browsers to work with OpenVidu: OpenVidu/openvidu@58c15b0
Is there any possibility to fix the bug? We think platform.js is actually pretty solid, and fix these issues would help for new devices using the overused "Edge" word to be detected correctly by platform.js ;)