react-native-system-setting icon indicating copy to clipboard operation
react-native-system-setting copied to clipboard

setAppBrightness back to system brightness

Open josephgcedeno opened this issue 4 years ago • 1 comments

Is there a way to somehow revert back to system brightness after using setAppBrightness without asking the user's permission?

josephgcedeno avatar Nov 21 '21 05:11 josephgcedeno

You should set to -1

SystemSetting.setAppBrightness(-1);

hegnn avatar Jan 03 '23 20:01 hegnn