Hi, is there a way to know if an app has been awaken from a requestApplicationWake? I checked the state variable in onStart but it's null in that situation.
Hi, is there a way to know if an app has been awaken from a requestApplicationWake? I checked the state variable in onStart but it's null in that situation.
Before calling requestApplicationWake, save some state info in Storage and then read it when the app wakes
You can't save to Storage in a background service on all devices. Also, you need to handle the case where the user says "no" to waking the app.