Skip to content
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

Add Meta Quest 3 #572

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions regexes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3582,6 +3582,11 @@ device_parsers:
# Meta
# @ref: https://www.meta.com
#########
- regex: 'Quest 3'
device_replacement: 'Quest'
brand_replacement: 'Meta'
model_replacement: 'Quest 3'

- regex: 'Quest 2'
device_replacement: 'Quest'
brand_replacement: 'Meta'
Expand Down
7 changes: 6 additions & 1 deletion tests/test_device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,12 @@ test_cases:
brand: 'Meta'
model: 'Quest 2'

- user_agent_string: 'Mozilla/5.0 (X11; Linux x86_64; Quest Pro) AppleWebKit/537.36 (KHTML, like Gecko) OculusBrowser/26.2.0.0.10 SamsungBrowser/4.0 Chrome/110.0.5481.192 VR Safari/537.36'
- user_agent_string: 'Mozilla/5.0 (X11; Linux x86_64; Quest 3) AppleWebKit/537.36 (KHTML, like Gecko) OculusBrowser/26.2.0.0.10 Chrome/110.0.5481.192 VR Safari/537.36'
family: 'Quest'
brand: 'Meta'
model: 'Quest 3'

- user_agent_string: 'Mozilla/5.0 (X11; Linux x86_64; Quest Pro) AppleWebKit/537.36 (KHTML, like Gecko) OculusBrowser/26.2.0.0.10 Chrome/110.0.5481.192 VR Safari/537.36'
family: 'Quest'
brand: 'Meta'
model: 'Quest Pro'
Expand Down
Loading