Open TKDickson opened 7 months ago
@TKDickson This likely will be fixed with the React Query Migration for Notifications when that gets merged you should recheck this
Added the notification migration ticket as a dependency.
@TKDickson Are you fine with me attaching this ticket to Dylan's RQ Notification PR and marking it as in progress? This should get resolved there with the updated RQ logic
@theodur yes definitely
Have been blocked on this since Tuesday - there's a reverse proxy server somewhere in the staging notification ecosystem that's not playing nicely. Hopefully resolved today.
DSVA support thread is resolved and I've confirmed I can successfully register for notifications, as well as fetch preferences, from upstream servers. This is unblocked and I can start working on it tomorrow.
During login, we're still calling the register call twice when opting into push on iOS:
If you opt-out of push during login, and then later turn it on (via jumping from the notification preferences screen in the app out to settings), then the register call is made...... dear god, 7 times:
@Sparowhawk still broken
This is improved, but not yet fully fixed.
I'm guessing it's some kind of race condition, along the lines of "the call is made once when you reach the page, and then again immediately when the page reloads because you've app-switched back into it" but I could be wrong.
This is fully fixed/resolved - won't be able to close until the issue on #8253 is ready, but does not require further testing.
What happened?
When we call the /mobile/v0/push/register API from the app (which happens during the sign-in sequence for Android, or after opt-in for iOS), we nearly always call it..... three times simultaneously.
Once - just once, like a unicorn vanishing into the mist - I saw it log five times during the login sequence on Android.
Specs:
Steps to Reproduce
Desired behavior
Should just call it once.
Acceptance Criteria
Bug Severity - BE SURE TO ADD THE SEVERITY LABEL
See [Bug Tracking](https://department-of-veterans-affairs.github.io/va-mobile-app/docs/QA#issue-severity) for details on severity levelsLinked to Story
Screen shot(s) and additional information
Full JSON response for services related to issue (expand/collapse)
Ticket Checklist