Disabling auto-lock



Is there away to prevent screen from auto-locking with ionic framework?

Ex: user opens a view called ‘bookReading’

In that ‘bookReading’ view screen doesn’t automatically go black after a set amount of time in android settings.


Did you (or anyone) ever make any progress with a solution here?


There is a Cordova plugin that keeps the screen on: https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin


Hold your hand up… high-five long over due.