I have suppose that a service is always live also when the app is closed.
Instead from result of my test i have see that is not true.
If i done a service that receive message from mqtt broken, i receive message only when the app is foreground or background, not when is closed.
Exist a mode for have the service always live?
Thanks
Instead from result of my test i have see that is not true.
If i done a service that receive message from mqtt broken, i receive message only when the app is foreground or background, not when is closed.
Exist a mode for have the service always live?
Thanks