Hi, I am experiencing a potentially expensive issue where I want the user to be able to use several styles offline that all use the same data source. As per Mapbox docs those offline packs should be able to share resources, but when I create the offline packs asynchronously in parallel, tiles are being downloaded multiple times, resulting in higher API usage.
Platform: React Native
Mapbox SDK version: 9.1.0
Steps to trigger behavior
Create two offline packs in parallel (async) with different custom styles that use the same tileset as their data source.
Expected behavior
completedTileCount for one pack is about 120.
Check account statistics and see that 120 tiles have been downloaded.
Actual behavior
completedTileCount for one pack is about 120.
Check account statistics and see that 240 tiles have been downloaded.
Hi, I am experiencing a potentially expensive issue where I want the user to be able to use several styles offline that all use the same data source. As per Mapbox docs those offline packs should be able to share resources, but when I create the offline packs asynchronously in parallel, tiles are being downloaded multiple times, resulting in higher API usage.
Platform: React Native Mapbox SDK version: 9.1.0
Steps to trigger behavior
Expected behavior
completedTileCount
for one pack is about 120.Actual behavior
completedTileCount
for one pack is about 120.