Wakeup phone when it is lock (sleeping)


#1

Can I make wakeup when it is sleeping from the react native? Can I use power management for to do that? Do I need call a Java, C++, Objetive C, or Swift function for do that?
Thank in advance.
Best Regards


#2

Hey @marcosmejia,

You won’t be able to handle this in Expo as it requires background task functionality. You’ll have to detach and write your own native code to handle it or there may be a third-party library that offers this functionality.

Cheers,

Adam