Keep awake for app

Hi,

is there a way in AppGyver to make sure that the iPad does not go into sleep mode while the app is open (although nothing happened over 15 min)?
There is a react native plugin called react-native-keep-awake but I am not sure how the iOS behaves in general e.g. if the app does regular background tasks…

Thanks and best,
Jo

Hey @Johannes,
there is a flow function called Set wake lock it should do the trick. There is also a flow called Disable keep device awake which disables the wake lock, although you should be able to use the Set wake lock to also disable it.

1 Like