I have an application running on an industrial Android handheld, on client premises, wifi, no internet. The app communicates with a REST API with our in-premises server.
I'd like to add a notification system to this app, even simply a polling of the server every 5 minutes. I understand this must be done with a service, and I've tried many implementations of backgrounding with Xamarin, that work as long as the App is running (foreground or background), but the service stops when the App gets closed.
So my problem is: can I create an (almost) unstoppable service? is yes, is it possible with Xamarin?
I don't know if it is pertinent, but apps like TripAdvisor have a permanent service running in the background, that if I kill it gets reloaded. And I guess this service collects your position, sends it to their server, and if I'm in a certain place opens a notification and asks me to vote for it. Does it works this way?