with b4a 8.30 the Starter service is never killed
Not exactly. The starter service will be killed when the os kills the process.
What has changed?
- Starting from Android 8 the OS can kill specific services without killing the process. This makes the program state more complicated as you can no longer assume that the starter service is running.
- B4A v8.3 changes the behavior of the starter service and it is kept running as long as the process is alive. Under the hood the starter service starts as a real service and later switches to the application context. When your app is in the background the OS will kill the native service however from your program perspective it will still be alive
If you are running a program on Android 8 and move it to the background then you will see this message in the logs after about a minute:
** Service (starter) Destroy (ignored)**