Open thirstycoda opened 4 years ago
@thirstycoda Could you please check if you also have this message in the logs when map doesnt load?
BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation: vnode unlinked while in use: /private/var/mobile/Containers/Data/Application/E9F89FE6-3545-416A-A344-313E5A65A875/Library/Application Support/___/.mapbox/cache.db
Platform: Android Mapbox SDK version:
I'm having an issue getting the mapbox sdk to use the custom maps that have been downloaded with the OfflineManager. The maps work fine online, but when putting the android emulator into airplane mode, the following error is logged:
I/Mbgl-HttpRequest: Request failed due to a connection error: Unable to resolve host "<hostname>": No address associated with hostname
My style url is in the format:
https://<host>/<path>/<filename>.json?key=<access_token>
The MapView is configured as follows:
I have browsed the sqlite database and the style exists as a resource and has the URL I would expect so I'm confident it matches the style url passed into the MapboxMap.setStyle function. I noticed the must_revalidate was set to 1 in the database but changing this to 0 made no difference.
Steps to trigger behavior
https://<host>/<path>/<filename>.json?key=<access_token>
Expected behavior
The offline region is shown
Actual behavior
The map view remains grey and errors appear in the log stating
I/Mbgl-HttpRequest: Request failed due to a connection error: Unable to resolve host "<hostname>": No address associated with hostname