Skip to content

feature(service-worker): Store received notifications #52349

@angelaki

Description

@angelaki

Which @angular/* package(s) are relevant/related to the feature request?

service-worker

Description

If I'm not mistaken the current service worker only displays / reacts on incoming notifications. There is no chance to list them afterwards.

Since many users accidentally click them away / want to check them later, I'd like to be able to access old received notifcations.

Proposed solution

Received messages could be stored to localStorage. The key and the maximum latest message store count could be set, so with a default value of zero the current SW even wouldn't behave any different.

Alternatives considered

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: service-workerIssues related to the @angular/service-worker package

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions