Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Indefinitely running background service X.F Android

$
0
0

Hey guys! I would like to create an Android background service that will start when my application starts and stays running indefinitely! I have tried serveral ways to achieve this with no luck whatsoever. Yes, i'm using the latest of every possible thing and yes i know it can be achieved only as platform specific, that is fine with me!

Why? It doesn't really matter, but because i want to connect to a netcore signalr server and recieve messages even when the app is not running, and yes i know that i need a broadcast reciever to start it again after the phone restarts i got everything working, except the service stops when the app gets closed.

Thank you!


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>