Skip to content

Simplify logic for updating server with FCM token, and do it more often #275

@adamwolf

Description

@adamwolf

Let's poke the server every time the app is started, and every 7 days. (Every 7 days is in the best practices guide for FCM).

There's a bunch of logic in there now for caching the FCM token and deciding when to submit to the backend and when to remove from the backend--nope! Let's just poke the backend with the current token. The backend will drop ones more than 30 days old (that's what the FCM best practices guide says, anyway).

Cognata

Verbata: google push notifications,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions