Keep Screen On
Keep the device screen on all the time for many purposes such as a in-vehicle display app, museum kiosk app, trade show demo, etc. In addition to an app configuration which will be enabled at all times this setting can also be set and cleared via the JavaScript Bridge.
To set this mode as default enable within your app configuration on the Interface tab.
On Android the setting can be changed at runtime using the Median JavaScript Bridge.
↔️Median JavaScript Bridge
To enable Keep Screen On:
median.screen.keepScreenOn();
To disable Keep Screen On:
median.screen.keepScreenNormal();
Updated about 2 months ago