Before telling me to use BackgroundTask component, I want to say that I already think about, but I do not see how to use it without rewriting a whole of things with the risk of breaking other things...
My need is to have the same as what is running good on android platform (whereas I am not an adept of android platform...but in this case, this works on android, but I cannot make working on my preferred Windows Platform !!!)
The need is to get a background thread launched at startup continue to work even if the app is minimzed or put in background.
My thread has to many interaction with some foreground data and services used in the front UI, and I think that I cannot move it to a UWP Background task component...and I am not sure that it could run in infinite in such a way...
I searched on the Web and I thought that I found the solution on this Microsoft documentation page:
Can someone help me implement that in my Xamarin Form app ?
I tried to follow instructions, but I missed someting because it does not recognize the restricited capability in my manifest when I try to deploy locally my app.
I must say also that the app is NOT deployed in the Microsoft Store. It is manually deployed in a side by side way locally on entreprise devices.