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

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

Open
stefanosiano opened this issue Sep 19, 2024 · 2 comments · May be fixed by #2628
Open

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

stefanosiano opened this issue Sep 19, 2024 · 2 comments · May be fixed by #2628

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 moved this from Needs Discussion to Backlog in Mobile & Cross Platform SDK Sep 30, 2024
@buenaflor buenaflor added the docs label Oct 10, 2024
@denrase denrase moved this from Backlog to Needs Review in Mobile & Cross Platform SDK Jan 27, 2025
@denrase denrase linked a pull request Jan 29, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment