forked from microsoft/react-native-code-push
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'm happy to contribute this feature, but want to get some alignment first from the maintainers and whether this is a good idea.
I looked at how the native downloader implementations handle retry, and I don't see anything that would retry transient server errors like HTTP 500 (that would be my #1 concern, but retrying other errors would be also useful)
- iOS implementation uses
NSURLConnection
, which AFAIK doesn't retry on high-level errors like HTTP status codes - Android implementation uses
java.net.HttpUrlConnection
. I couldn't find anything conclusive about its retry logic. - Windows: TODO, haven't checked yet
I would expect this auto-retry to be configurable with the usual parameters like max attempts, initial delay, exponential backoff params, etc.
Is it something that would make sense for the project?
miklosboros, gaborpongracz, CHOIMINSEOK and kmsbernardCHOIMINSEOK
Metadata
Metadata
Assignees
Labels
No labels