Hi,
Actually, I've a requirement for sending the data to central database from mobile local storage via Web services in background for every X minutes. Googled lot of things for doing the background services. But, these are getting killed when the app is killed/removed from the recent apps. Then I used StartForeground() to send the updates from background even if app gets killed. But, It is showing a notification all the time.
Is it the right approach to work with background updates?
Is StartForeground() consumes more battery?
How to hide the notification if we use startForeground()
Right now, I'm working with Android only.