Looking for a solution to keep the screen on while using the app

Hi, I would like to prevent the screen from sleep while using the app.
My users are using a lot with the stopwatch (classic app), The stopwatch runs for few minutes, the problem is that the screen is going black after 15 - 30 sec by the default setting of the phone.
When the user turns the screen back on the stopwatch freezes.

How can I solve it?
Thank you.

I don’t think that is something that can be configured. Maybe you could if you had a video component that is playing a long video as videos will typically keep the screen on, but other than that, something like that is an OS level setting that Glide wouldn’t have access to.