This repository has been archived by the owner on Jun 23, 2023. It is now read-only.
"Background work" notification is alerting and has misleading action button #5
Labels
bug
Something isn't working
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
The text was updated successfully, but these errors were encountered: