Hi everyone
today i compiled an app that i was not compiling it since 2 months ago.
The app has a service that runs about every 5 minutes and the service completes it's tasks in about 30 seconds.
The app is not ready to comply the new android 8 background service limitations but i need to update it to fix some bugs.
The problem is that now when compiled with B4A v.8.0 a persistent notification appears in the notification area even if i put Service.StopAutomaticForeground at the end of the service_start sub and even if i target the app to SdkVersion 14.
Meantime i adapt the app to the new google play rules, how can i continue to run the service in background without showing any icon?
Somewhere i read that Service.StopAutomaticForeground must be called within 5 seconds after the service is called...but my service takes up to 30 seconds to complete it's task. How can deal with this?
Thank you in advance for your support!
today i compiled an app that i was not compiling it since 2 months ago.
The app has a service that runs about every 5 minutes and the service completes it's tasks in about 30 seconds.
The app is not ready to comply the new android 8 background service limitations but i need to update it to fix some bugs.
The problem is that now when compiled with B4A v.8.0 a persistent notification appears in the notification area even if i put Service.StopAutomaticForeground at the end of the service_start sub and even if i target the app to SdkVersion 14.
Meantime i adapt the app to the new google play rules, how can i continue to run the service in background without showing any icon?
Somewhere i read that Service.StopAutomaticForeground must be called within 5 seconds after the service is called...but my service takes up to 30 seconds to complete it's task. How can deal with this?
Thank you in advance for your support!