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!