Skip to content

fix: Fix Apple Vision Pro (Vision OS) detection and other VR devices detection #8805

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

Merged
merged 2 commits into from
Jun 26, 2025

Conversation

avelad
Copy link
Member

@avelad avelad commented Jun 26, 2025

No description provided.

@avelad avelad added type: bug Something isn't working correctly priority: P3 Useful but not urgent labels Jun 26, 2025
@avelad avelad added this to the v4.16 milestone Jun 26, 2025
@avelad avelad requested a review from tykus160 June 26, 2025 07:38
@@ -234,6 +234,7 @@ shaka.device.IDevice.DeviceType = {
'MOBILE': 'MOBILE',
'TV': 'TV',
'VR': 'VR',
'APPLE_VR': 'APPLE_VR',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe instead of adding new device type which is essentially the same as before, but with brand added, we should expose manufacturer brand in API?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I thought at first, but I don't think it's something we can easily obtain, and since we only have this one case, I've left it at that for now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not exposed API yet, so we can use it like that and see how it serves our needs.

@avelad avelad requested a review from tykus160 June 26, 2025 07:58
@shaka-bot
Copy link
Collaborator

Incremental code coverage: 75.00%

@avelad avelad merged commit 5b27f0f into shaka-project:main Jun 26, 2025
30 of 33 checks passed
@avelad avelad deleted the fix-vr-detection branch June 26, 2025 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: P3 Useful but not urgent type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants