You are not supposed to do long background tasks without having a foregroundservice (including the notification).
For short files you can use the starter service. But if it takes some time you need a foreground service.
Hello DonManfred
The supervisor gave me a task to upload and use the APP information on a regular basis and it could not be found by users, so this is a long-term background service.