Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

APNS token should be removed from the db when apnsErrorStatus=410 #536

Closed

Description

@cheungpat

This error can occur in skygear server when the APNS return a error status 410 (The device token is no longer active for the topic.) https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html

Since the token no longer works, sending notification to the token will result in more errors. When encountering the error, the token should be removed from the device table.

  • Skygear Server Date/Version: 0.240

Activity

  1. cheungpat commented on Feb 6, 2018

    @cheungpat
    ContributorAuthor

    adding this to the next bug fix milestone

  2. cheungpat commented on Apr 9, 2018

    @cheungpat
    ContributorAuthor

    it is confirmed that expired tokens are removed from db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址