aaassseee / screen_brightness

A Plugin for controlling screen brightness with application life cycle set and reset brightness implemented
https://pub.dev/packages/screen_brightness
MIT License
25 stars 19 forks source link

[q] change screen brightness in background #17

Closed cagridurmus closed 1 year ago

cagridurmus commented 1 year ago

When I want to change the screen brightness while in the background, it doesn't change.(IOS)

aaassseee commented 1 year ago

Hi @cagridurmus, would you like to express more about changing brightness in background. As the os restriction on iOS. When user quit the app, brightness would reset back to system brightness. Which means as app developer you cannot change the system brightness, you can only change brightness when user is using the app.

cagridurmus commented 1 year ago

You added the setAutoReset method for the package. When I change the screen brightness in my own application and then go to the main screen, the screen brightness value stops. What I want to do is I want to change the system brightness while it is in the background. But as far as I understand, such a thing cannot be done on the iOS side.

aaassseee commented 1 year ago

Yes, that what I meant. You cannot change system brightness in iOS side, only application brightness is allowed.

aaassseee commented 1 year ago

@cagridurmus Is there any other question? If not feel free to close this issue.

cagridurmus commented 1 year ago

No, thanks bro.