'Couldn't update notifications in background'

Why does this happen?

On Android, Commet updates push notifications using a ‘Foreground Service’. In some cases, Android prohibits starting a Foreground Service from the background, which results in Commet not being able to update push notifications.

Google Play Services

Typically, in versions of Commet which use google play services, this issue should not arise as Android excplicitly allows the starting of a Foreground service when receiving a high priority message from Google services. More Info Here

However, in some cases - particularly when running the app in a virtual Android device - this permission may not be granted resulting in a failure.

How to Fix:

To fix this issue, you need to disable ‘Battery Optimizations’ for Commet.

  1. Open the Settings app
  2. Go to “Apps” and select Commet
  3. Tap on “App battery usage”
  4. Select ‘Unrestricted"

This should allow the foreground service to start correctly!