You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
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>
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
Use the OfflineManager to create an offline region using a custom style with a URL in the format: https://<host>/<path>/<filename>.json?key=<access_token>
Put the android emulator into airplane mode
Open activity with a MapView configured as described above
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
The text was updated successfully, but these errors were encountered:
@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
The text was updated successfully, but these errors were encountered: