You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
Hi, I can't get it to work. When I set the brightness inside my app, I can get the value I set it to right away, but it just doesn't dim the brightness. I tested it on Google Nexus 7 (Android 6.0.1) and RN version 0.44.0. Is there something I am missing?
deviceBrightness.setBrightnessLevel(0.2);deviceBrightness.getBrightnessLevel().then((brightness)=>{console.log(brightness);// prints 0.2});