Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not download new offline map after deleting other offline map in v11.10.2, v11.9.2, v11.8.1 #2583

Open
quan-d-luong opened this issue Feb 27, 2025 · 0 comments
Labels
bug 🪲 Something isn't working

Comments

@quan-d-luong
Copy link

Environment

  • Android OS version: Android 14 (SDK 34)
  • Devices affected: Samsung S22 Ultra, Pixel 7, Samsung S23,...
  • Maps SDK Version: v11.10.2, v11.9.2, 11.8.1

Observed behavior and steps to reproduce

Mapbox SDK always returns the following errors when I try to download a new offline map after deleting other stored offline maps.

2025-02-27 15:24:17.930 Mapbox E [tile_store]: id=433, tag=offline, variant=maps:mapbox.mapbox-streets-v8/ coord=11[11->14]/1640/960 : Tile store disk quota, including partial downloads, does not allow to download file. Please consider allowing in-memory download option.

2025-02-27 15:24:17.931 Mapbox E [tile_store]: id=434, tag=offline, variant=maps:mapbox.mapbox-terrain-v2/ coord=11[11->14]/1640/960 : Tile store disk quota, including partial downloads, does not allow to download file. Please consider allowing in-memory download option.

2025-02-27 15:24:17.932 Mapbox E [tile_store]: id=435, tag=offline, variant=maps:mapbox.mapbox-bathymetry-v2/ coord=6[6->10]/51/30 : Tile store disk quota, including partial downloads, does not allow to download file. Please consider allowing in-memory download option.

2025-02-27 15:24:17.934 Mapbox E [tile_store]: id=436, tag=offline, variant=maps:mapbox.mapbox-streets-v8/ coord=6[6->10]/51/30 : Tile store disk quota, including partial downloads, does not allow to download file. Please consider allowing in-memory download option.

2025-02-27 15:24:17.935 Mapbox E [tile_store]: id=437, tag=offline, variant=maps:mapbox.mapbox-terrain-v2/ coord=6[6->10]/51/30 : Tile store disk quota, including partial downloads, does not allow to download file. Please consider allowing in-memory download option.

Step to reproduce:

  1. App is using Mapbox version 11.10.2
  2. Use OfflineManager and TileStore to download a offline map name "AAA".
  3. The offline "AAA" is successfully downloaded. I can observe the result by TileStoreObserver
  4. Delete the offline map "AAA"
  5. Download other offline map "BBB" at different location from the "AAA"
  6. => ISSUE: Mapbox returns error [type: DiskFull, message: Load was canceled] in 'onRegionLoadFinished' callback

Expected behavior

  • App can download new offline map normally after deleting other offline map.

Notes / preliminary analysis

  • I don't observe this issue in Mapbox version 11.0.0 (My application is using this version). I only observe the issue while trying to upgrade the Mapbox version to v11.10.x.

Additional links and references

@quan-d-luong quan-d-luong added the bug 🪲 Something isn't working label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant