Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

_native?.displayRefreshRate() returns 0 on macOS Monterey and below #2301

Open
stefanosiano opened this issue Sep 19, 2024 · 2 comments
Open

Comments

@stefanosiano
Copy link
Member

Description

A user reported _native?.displayRefreshRate() returns 0 on macOS Monterey and below.
While the user opened a PR to avoid the crash (and we should do it, of course), we may want to have a look at why it returns 0 in the first place

@buenaflor
Copy link
Contributor

I'll check, we use this API for macos: https://developer.apple.com/documentation/coregraphics/1454099-cgdisplaycopydisplaymode

which is available from macos 10.6 which should be compatible

@buenaflor
Copy link
Contributor

let's document that in troubleshooting that we might not support it in lower macos versions

@buenaflor buenaflor added the docs label Oct 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants