How can I (if at all) disable device hibernation in Trigger.io?

I am trying to decide if I should go with PhoneGap or Trigger.io for the mobile application that I am going to build. One of the "must haves" is the ability to turn off the display of sleep. I saw various hacks for PhoneGap ( idleTimerDisabled ) and even a plugin that allows you to manage this directly from JS, but I have not found ANYTHING in this thread in Trigger.io yet.

So is this possible?

+4
source share
1 answer

You can write your own plugin for Android and iOS to disable the device’s sleep mode. Here are useful links that should lead you to the right path:

Built-in Plugins Trigger.io

iOS: how to stop the device standby timer?

Stop Android device from sleeping

+1
source

Source: https://habr.com/ru/post/1434846/


All Articles