So, what is the creation strategy now for the app-client, that must be always running, like a messenger ?
I mean the app that must not be killed by modern Android versions, if app needs periodically to request a server for some updates.
If to develop in the latest B4A 8.5 (and planned to use B4I also, no services here, i remember theoretically yet).
Using StartServiceAtExact for periodical background work with HTTP (during sleep also needed)?
Create a Service (do NOT use Starter service for this). Do the job there. After you finish work, reshedule the service to start in 30 minutes or more (StartServiceAt). Stop Service and set automaticforeground off.