How to Wakeup phone when it is lock (sleeping)

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

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.