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
});
Hi @filiphosko ,
Unfunfortunately, I don't have the devices for testing now. However, I'd like let you know that I will ask friends for help and try to reproduce and fix this issue ASAP.
Thanks for reporting!
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?