mapbox-navigation-android
mapbox-navigation-android copied to clipboard
[Android] Retry logic to network layer
Catching from slack discussion:
networking retries, that logic is really good to have on the networking layer
cc @kmadsen @mapbox/navigation-android
Started looking at this some and MapboxServices would be a good place
@kmadsen yeah, it's a great option! BTW if we need that we could make it internally in SDK, and later apply external library retry-feature.
mapbox-java issue https://github.com/mapbox/mapbox-java/issues/1164
MapboxServices are rather stateless, it's only an abstraction to make a request. IMO, if we were to implement a retry logic, SDK should be responsible for driving this experience and letting the dev customize it.
IMO, if we were to implement a retry logic, SDK should be responsible for driving this experience and letting the dev customize it.
actually I was thinking about it. And retry logic might be handled by SDK, agree. But still would be great to expose MapboxServices API to make retry calls.