Questions
Keep screen on functionality throwing an error on Android
12 months ago by Hugo Bailey
We're using median.screen.keepScreenOn() and median.screen.keepScreenNormal() to control the screen backlight (doc) and on iOS it works fine, however on Android when calling these functions via the JS bridge, it throws an error:
Uncaught TypeError: median.screen.keepScreenOn is not a function
Why is that please?