-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
auto-triagedAutomatically triaged by AIAutomatically triaged by AIbug 🪲Something is broken!Something is broken!
Description
Environment
- Xcode version: 16.4
- iOS version: 18.6
- Devices affected: iOS
- Maps SDK Version:
Observed behavior and steps to reproduce
When using OfflineManager.loadStylePack(), completion is never called if loadStylePack is called from within a swift concurrency Task {} block.
Expected behavior
The completion block should always be called.
Notes / preliminary analysis
The completion handler on this function seems to be very fragile. Even when not using a swift Task, I found I need to call from the worker thread in the TileStore.default.allTileRegions {} completion block. Is that expected behavior?
Watching the network traffic I can confirm that the download tasks complete as expected, it is just the completion handler that fails.
Metadata
Metadata
Assignees
Labels
auto-triagedAutomatically triaged by AIAutomatically triaged by AIbug 🪲Something is broken!Something is broken!