Offline Search not working — TileStore fails to load tiles (erroredResourceCount = 10), OfflineIndexChangeListener not triggered
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by reproducing the TileStore offline-region installation with the sample polygon coordinates and inspect the reported resource counts. Verify whether tiles load, the offline index is created, and OfflineIndexChangeListener.onIndexReady() is triggered; the issue provides no source files or tests to inspect.
Written by the indexing model from the issue text.
Description
Environment
- Search SDK Component:
- Core Search SDK (
SearchEngine) - Offline Search SDK (
OfflineSearchEngine) - Address Autofill SDK
- Search UI SDK
- Core Search SDK (
- Android OS version: (add here)
- Devices affected: (add here)
- Search SDK Version: (add here)
- Maps SDK/Nav SDK versions (if used): (add here)
Description
I am implementing Offline Search using the Mapbox Search SDK for Android, but the TileStore does not load the tiles for the offline region.
Even when using the sample polygon coordinates from the official SDK documentation, tile loading consistently fails.
As a result:
- All tiles show erroredResourceCount = 10
- completedResourceCount = 0
- The offline index is never created
OfflineIndexChangeListener.onIndexReady()does not trigger- Offline Search remains non-functional
Expected Behavior
- Tiles should download successfully
- Offline index should be built
onIndexReady()should be triggered- Offline search queries should return results
Actual Behavior
The TileStore load completes with all tiles in error state:
requiredResourceCount: 10
completedResourceCount: 0
erroredResourceCount: 10
completedResourceSize: 0
Since no tiles are downloaded, the offline search index never initializes.
Steps to Reproduce
- Create a TileStore instance
- Install an offline region using the sample polygon coordinates
- Observe the tile loading results (all fail)
- Add an
OfflineIndexChangeListener - Note that
onIndexReady()never triggers
Additional Notes
Please confirm:
- Whether the sample offline region tiles are still available
- Whether the polygon area requires updated coordinates
- Or if this is a regression in TileStore tile loading
This issue blocks offline search implementation in the project.
- Dominant language
- Kotlin
- Stars
- 39
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapbox/mapbox-search-android
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mapbox/mapbox-search-android#364 · 2 comments ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mapbox/mapbox-search-android#296 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 32/100
mapbox/mapbox-search-android#272 · 1 comment ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
mapbox/mapbox-search-android#260 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 30/100
mapbox/mapbox-search-android#259 ·
All issues in mapbox/mapbox-search-android
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
nightscout/AndroidAPS#5211 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
jellyfin/jellyfin-android#2231 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
commons-app/apps-android-commons#6984 ·
Maintainers usually reply within 2 days