I'm working on a Meteor Application which runs for long times and I'm looking for a way to keep the screen on when there's no user activity (while the app is running of course).
Thanks
I'm working on a Meteor Application which runs for long times and I'm looking for a way to keep the screen on when there's no user activity (while the app is running of course).
Thanks
If I read the documentation correctly, and I may not, because I've never used this before, then you can add the insomnia plugin to your cordova/phonegap build like this:
And then use:
and
Update for Meteor 1.2:
This means that you now need to use:
Update 2
As user3819370 points out, the plugin is now in the registry being used by meteor, so you can simply install it like this: