You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stopForegroundService and startForegroundService can be used to update the text in a foreground service (sticky) notification in Android. However, that OS is slow to show newly created foreground services notifications (Maybe 10 - 20 seconds at times). It would be great if there were a way to change the title and body text without removing the current sticky notification.
I tried using second invocation of startForegroundService after the first invocation created the sticky notification, but that did not change the text.
The text was updated successfully, but these errors were encountered:
stopForegroundService
andstartForegroundService
can be used to update the text in a foreground service (sticky) notification in Android. However, that OS is slow to show newly created foreground services notifications (Maybe 10 - 20 seconds at times). It would be great if there were a way to change the title and body text without removing the current sticky notification.I tried using second invocation of
startForegroundService
after the first invocation created the sticky notification, but that did not change the text.The text was updated successfully, but these errors were encountered: