mattermost-mobile/android/app
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
..
src MM-22181 Backoff retries for ID-loaded push notification messages (#4302) 2020-05-19 10:48:55 -07:00
BUCK Update RN to version 0.57.0 (#2131) 2018-09-20 19:05:41 -03:00
build.gradle Bump app build number to 293 (#4297) 2020-05-13 19:37:28 -03:00
google-services.json Update react-native-device-info and fix status value: (#2892) 2019-06-17 20:22:54 -07:00
proguard-rules.pro [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00