Open
Conversation
172d3d8 to
3cb6cd8
Compare
3cb6cd8 to
b6b557a
Compare
Author
|
Converted this to draft for now, I am still evaluating what else can be done so notifications won't get lost |
cdddfc0 to
7c20fb5
Compare
74a62ba to
8a9a522
Compare
8a9a522 to
f3f067b
Compare
Author
|
This got way bigger then expected but I think this is pretty solid now. This now handles mint errors while trying to push/reconnect to the different services. I extracted a bit of adapter logic that applies to both apns + fcm to a helper. the ADM adapter does not use very much of it because it has a different behaviour |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This handles error when the server closes connections.
The second commit implements a check for a open connection but it is not very resilient yet.
If the reconnect fails, the notification get's lost, either there needs to be some recovery mechanism or the response handler needs to be called.
#299