Keep Screen On

I want to keep the phone screen on while the app is in use. If I can get granular and do this only on certain pages that would be best.
This is something you can do when making a coded native app: https://developer.android.com/training/scheduling/wakelock#screen
User story to make it easy for ya:
As a person using an app for a long time as a reference for a task
I’d like to have my phone screen stay on while (certain pages of) the app is open
so that I don’t have to unlock my phone a bunch of times or touch it with sticky/gluey/full hands.

Would love this awake function as well, for example when putting the countdown timer so it stays on and users can always see how long until the time is over as well as having access to any pausing functions, etc.

hello, you can check this component on https://jimmynoujaim.com/adalo