Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Chrome on the Motorola Edge Plus phone is being parsed as Microsoft Edge #184

Open
JonnyWong16 opened this issue Jul 21, 2020 · 2 comments
Labels

Comments

@JonnyWong16
Copy link

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

https://bestiejs.github.io/platform.js/?ua=Mozilla%2F5.0+%28Linux%3B+Android+10%3B+motorola+edge+plus%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F84.0.4147.89+Mobile+Safari%2F537.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
Copy link
Member

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
Copy link

cruizba commented May 19, 2023

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 ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

3 participants