mattermost-mobile/ios/NotificationService
Amit Uttam ea0f8ab5f0
MM-22181 Backoff retries for ID-loaded push notification messages (#4302)
* MM-22181 Backoff retries for ID-loaded push notification messages

Fibonacci backoffs. 6 attempts in ~20 seconds, not including response latency for each failure.

0 seconds to attempt 1 (original try)
1 seconds to attempt 2
2 seconds to attempt 3
3 seconds to attempt 4
5 seconds to attempt 5
8 seconds to attempt 6

* PR review: Reset re-request counter when server call succeeds

* PR Review: Localize scope of recursion counter

This handles scenario where multiple notification requests are being made at the same time for multiple messages. Counter will be isolated for each fetch request.

* PR Review: Remove unnecessary class variable

* Trigger Build

Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-19 10:48:55 -07:00
..
Info.plist Bump app build number to 293 (#4297) 2020-05-13 19:37:28 -03:00
NotificationService.entitlements Notification receipt delivery for Android and iOS (#2755) 2019-05-15 12:45:26 -04:00
NotificationService.swift MM-22181 Backoff retries for ID-loaded push notification messages (#4302) 2020-05-19 10:48:55 -07:00