Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • interkit-experiments interkit-experiments
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 116
    • Issues 116
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • interkit
  • interkit-experimentsinterkit-experiments
  • Issues
  • #270

Closed
Open
Created May 27, 2022 by Jakob Wierzba@jakobMaintainer3 of 4 tasks completed3/4 tasks

user reset should invalidate old push notification registration token

  • user uses app
  • hits "reset"
  • new user (id+token) is created
  • gets the same pushnotificationRegistrationToken, since it's the same device
  • now two users have the same pushnotificationRegistrationToken
  • two push notifications get sent to the same device

solution:

  • make pushnotificationRegistrationToken "unique"
  • i.e. on registration invalidate older user's Token
  • test: run locally on device. observe your device's user. on reset, the pushnotificationRegistrationToken should "move" to the newer user, the older gets `(userreset)
  • deploy
  • "migrate" current existing affected users so few users, let's wait until somebody complains. can be corrected by resetting the user

related to #269, but should function independently, too

Edited Jun 03, 2022 by Jakob Wierzba
Assignee
Assign to
Time tracking