Screen brightness

Is there a way to automatically turn up the brightness of the user’s mobile device?

I’m using the QR code generator plugin, which is very useful for my webapp. It would be great if the brightness of the user’s screen goes to its maximum when the QR code is shown. This makes the QR code more clear and makes the scanning of the code easier. This is already used for concert or plane tickets. I was wondering if this is also possible with Bubble?

Thank you in advance!

As far as I know, that’s platform independent.
You would need to use the FLAG_KEEP_SCREEN tag on the Android side and [[UIApplication sharedApplication] setIdleTimerDisabled: YES] on the iOS side.

Thank you for your answer @scottb50!
How would I implement this? The brightness only needs to go to the maximum when a certain element is clicked.