mattermost-mobile/ios
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
..
Fonts Add vector icons (#34) 2016-10-20 17:42:31 -07:00
Mattermost Bump app build number to 293 (#4297) 2020-05-13 19:37:28 -03:00
Mattermost.xcodeproj MM-15758 Update dependencies including Fastlane (#4272) 2020-05-18 11:24:47 -07:00
Mattermost.xcworkspace [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
MattermostShare Bump app build number to 293 (#4297) 2020-05-13 19:37:28 -03:00
MattermostTests Upgrade to RN 0.62.2 (#4093) 2020-04-14 16:39:51 -04:00
NotificationService MM-22181 Backoff retries for ID-loaded push notification messages (#4302) 2020-05-19 10:48:55 -07:00
SplashScreenResource Optimize png image with zopflipng lossless compression (#2682) 2019-04-22 21:57:49 -04:00
UploadAttachments Fix iOS Share extension alert message when file size is larger than allowed (#3792) 2020-01-10 07:41:48 -03:00
bundleReactNative.sh MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799) 2019-05-20 12:02:00 -04:00
KeyShareConsumer.storyboard CBA support for iOS (#1767) 2018-06-19 19:35:42 -04:00
makeSentryProperties.sh RN-9379 Updated react-native-sentry to 0.34.0 (#1447) 2018-02-21 01:01:06 +08:00
Podfile MM-23848 consolidate store, upgrade mmkv and fix logout (#4145) 2020-04-16 09:02:47 -04:00
Podfile.lock MM-15758 Update dependencies including Fastlane (#4272) 2020-05-18 11:24:47 -07:00
react-native-xcode.sh Upgrade to RN 0.57.1 (#2176) 2018-09-27 05:18:52 -03:00
SwimeProxy.swift Fix iOS crash when pasting large images and included other file types (#3424) 2019-10-24 20:41:38 +03:00
uploadDebugSymbols.sh Upgrade sentry to 0.39.1 (#2365) 2018-11-23 11:58:45 -05:00