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

Monitor functions should return error when the initialization is not done for mobiles #3168

Open
2 of 11 tasks
hajimehoshi opened this issue Dec 11, 2024 · 0 comments
Open
2 of 11 tasks

Comments

@hajimehoshi
Copy link
Owner

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

What feature would you like to be added?

Now DeviceScaleFactor returns an invalid value or crashes when this is called in an init function where the initialization is not done yet. To avoid the confusion, monitor functinos should return an error.

As this is a breaking change, let's do this in v3.

Why is this needed?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant