Android Question Which Foreground Service Type is best

dieterp

Active Member
Licensed User
Longtime User
My app is a live scoring app for cricket, and it uses a service that runs a timer every 20 seconds and then uploads the latest scores to a database. What is going to be my best Service Type to use in this instance? I can't stop and start the service every 3 minutes because a lot happens when you start the service.

What is the best way to keep the service running once you start it?
 

dieterp

Active Member
Licensed User
Longtime User
Thanks for the above recommendation. We encountered an error whilst using data-sync, and upon further investigation we see it will soon be deprecated and that "Work Manager" should rather be used.

We just seem to be going further down a rabbit hole, so we've decided to do the safe thing and rather remove services completely from the app
 
Upvote 0

Similar Threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…