-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(messaging, ios): reject notification registration after 10 seconds
Previously there were cases where notification registration requests would wait indefinitely for the choreography of "request registration from system", "wait for system to respond" completed. There are cases (specifically if you are missing permissions...) where this choreography will never complete. Now we have a delayed async task that waits (for 10 seconds currently) and if it runs and sees that the choreography wasn't complete it cleans up and rejects so you avoid infinite hangs See #7272
- Loading branch information
Showing
1 changed file
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters