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

fix: allows push notification settings only when using mainnet network #473

Merged

Conversation

alexruzenhack
Copy link
Contributor

@alexruzenhack alexruzenhack commented Apr 30, 2024

Acceptance Criteria

Security Checklist

  • Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.

state.pushNotification.available
// On iOS a simulator can't register a device token on APNS
&& state.pushNotification.deviceRegistered
// TODO: We should drop this condition when we add support other networks
Copy link
Member

Choose a reason for hiding this comment

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

Do we have an issue to discuss this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This one: https://github.com/HathorNetwork/internal-issues/issues/285

We can keep it open until we find a definite solution. What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@alexruzenhack alexruzenhack force-pushed the fix/push-notification-not-in-mainnet branch from fe1bac6 to 3b30fd6 Compare May 1, 2024 18:41
@alexruzenhack alexruzenhack merged commit 3b3980d into release-candidate May 2, 2024
2 checks passed
@alexruzenhack alexruzenhack deleted the fix/push-notification-not-in-mainnet branch May 2, 2024 16:51
@alexruzenhack alexruzenhack mentioned this pull request May 9, 2024
alexruzenhack added a commit that referenced this pull request May 15, 2024
alexruzenhack added a commit that referenced this pull request May 15, 2024
@alexruzenhack alexruzenhack mentioned this pull request Aug 12, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants