This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Check for network connectivity before requesting resources #6042
Labels
Android
Mapbox Maps SDK for Android
Platform: Android
Mapbox SDK version: 4.2.0
Steps to trigger behavior
Expected behavior
SDK loads offline resources before attempted to request hosted resources from Mapbox.
Actual behavior
SDK requests resources already in the offline database despite having no network connectivity.
Per discussion with @bleege, we can adapt a similar approach to the one we use in
MapboxEventManager
for use inHTTPRequest
.cc @zugaldia @bleege @cammace
The text was updated successfully, but these errors were encountered: