Skip to content

[bug] brightness value in iOS is always accurate, but Android is not #36

Description

@CillianMyles

Description (bug summary)

My app is using the system brightness controls (previously the application controls) but I have observed on multiple iOS devices the value for brightness always seems accurate (compared to the OS), whereas on Android it seems like the plugin value and the OS value are off.

Step to reproduce (how to reproduce the bug)

iOS

brightness-ios-converted.mp4

Android

birghtness-android-converted.mp4

Platform (Android/iOS/macOS/Windows)

Notice how the OS and values from the plugin are aligned in iOS, but not Android, from the screen recordings above.

iPhone 12 - iOS 18

Google Pixel 6A - Android 14

I'll dig a little deeper if I get time, but my guess is it's something to do with the calculation of brightness vs max brightness on Android, but also please let me know if you need any more information from me.

And thanks for the great package! 🙏

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions