Skip to content

[BE-055] Notifications: Auto delete invalid Expo tokens #473

Description

@ONEONUORA

Description\nAutomatically remove push tokens from database if Expo returns registration failure errors.\n\n## Files to Edit/Create\n- backend/src/services/notifications.rs\n\n## Acceptance Criteria\n- Catch HTTP response errors from Expo push notifications.

  • Remove invalid tokens from database.\n\n## Guidance / Hints\nDelete target row from user_push_tokens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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