I have a foreground service setup in Android. I would like to update the notification text. I am creating the service as shown below.
How can I update the notifica
I would think that calling startForeground() again with the same unique ID and a Notification with the new information would work, though I have not tried this scenario.
Update: Based on the comments, you should use NotifcationManager to update the notification and your service continues to stay in the foreground mode. Take a look at the answer below.