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

refactor: update notification device register logics #411

Merged

Conversation

enesozturk
Copy link
Contributor

@enesozturk enesozturk commented Jan 17, 2024

Description

Refactored notification register logic in internalNotifyProvider to make sure if the user has enabled their notification before registering their token for push notifications.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Fixes/Resolves (Optional)

Sentry ref: https://walletconnect.sentry.io/issues/4876819593/?project=4505754150043648&referrer=issue-stream&statsPeriod=14d&stream_index=0

Checklist:

  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@enesozturk enesozturk requested review from bkrem and devceline January 17, 2024 10:39
Copy link

vercel bot commented Jan 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
app-web3inbox ✅ Ready (Inspect) Visit Preview Jan 17, 2024 10:39am

Copy link
Collaborator

@devceline devceline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - fantastic catch

@bkrem
Copy link
Member

bkrem commented Jan 17, 2024

Nice 💯

Once this has deployed, the best way to track whether this works as expected (or for possible regressions) is using Resolve > The current release on the related issue. That way it won't un-resolve the alert if someone who isn't using the latest deployment yet hits it.

@enesozturk enesozturk merged commit a5a19c3 into main Jan 17, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants