Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [IOCOM-2174] Delayed push token registration attempt #6774

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

Vangaorth
Copy link
Contributor

Short description

This PR implements a second registration attempt of the token for receiving push notifications.

List of changes proposed in this pull request

  • On the first registration, the date is saved
  • On the next app launch, if more than a day has passed, the token is registered again
    This ensures that, if the token was previously deleted during the login process (a known issue), it will be registered again (without the deletion case), guaranteeing the reception of notifications
  • On logout, the above mechanism resets to its initial state so that it can repeat
  • Existing users that migrate will have their token registered immediately

How to test

Using the iOS simulator or a physical Android device, check that:

  • The token is correctly registered on login
  • After a day, it is registered again and is not registered again afterward
  • On logout, the mechanism resets and repeats
  • For a user undergoing migration, the registration process is triggered

Copy link
Contributor

github-actions bot commented Mar 3, 2025

Jira Pull Request Link

This Pull Request refers to Jira issues:

Copy link
Contributor

github-actions bot commented Mar 3, 2025

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

@Vangaorth Vangaorth changed the title feat: [IOCOM-2174] Delayed Push Token Registration Attempt feat: [IOCOM-2174] Delayed push token registration attempt Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant