Share via

Waking a Xamarin Forms Application

cdrew 21 Reputation points
2021-10-14T14:30:47.623+00:00

Developing an App which sends jobs to a worker - it already has a background service (under Android) which is used to send updates back to the server but I have been asked to look at support for 'Lone Workers'. The basic requirement is every say 30 minutes, the App will display a popup to which the user must confirm they are still OK and then that response will be sent back to the server.

Fine if the App remains active however it needs to be able to work even if the phone is asleep as the user may look at their jobs and then just put the phone down. Is there a reliable / preferred way that I could force an App into the foreground, waking the phone if necessary to alert them on a timed basis?

Developer technologies | .NET | Xamarin

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.