Describe the bug
The BACKGROUND_WORK notification created by getUpdatingDatabaseNotification is alerting by default (meaning it appears in the status bar as if there's something the user needs to act on), and also includes a misleading action titled "Loading…" which just launches the app when tapped.
To Reproduce
Install the app
Wait a while
Observe occasional notifications from the app that just say "Loading…" and go away after a few seconds
Expected behavior
Apps shouldn't display notifications unless absolutely necessary (especially since the app's icon is quite recognisable, and users might worry that the notification indicates something they need to do something about)
Notifications which the user can't do anything about (and in fact doesn't need to know about at all) shouldn't show up in the notification bar
The "Loading…" text (notification_text_updating_database) should just be text, not a clickable button (and should probably be more descriptive, like "Updating…", to make it clear that the notification won't populate with useful information in the future)
I know Android restricts what you can do in terms of notifications when you're running a foreground service, so removing the notification may not be possible, but the "Loading…" text definitely shouldn't be a clickable button.
Screenshots
Hard to obtain one, since the notification goes away quite quickly.
Describe the bug The
BACKGROUND_WORK
notification created bygetUpdatingDatabaseNotification
is alerting by default (meaning it appears in the status bar as if there's something the user needs to act on), and also includes a misleading action titled "Loading…" which just launches the app when tapped.To Reproduce
Expected behavior
notification_text_updating_database
) should just be text, not a clickable button (and should probably be more descriptive, like "Updating…", to make it clear that the notification won't populate with useful information in the future)I know Android restricts what you can do in terms of notifications when you're running a foreground service, so removing the notification may not be possible, but the "Loading…" text definitely shouldn't be a clickable button.
Screenshots Hard to obtain one, since the notification goes away quite quickly.
Smartphone