mapbox / mapbox/MapboxStatic.swift
Network error on WatchOS Device
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 192
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
On Apple Watch Device I've Network errors and the image is not loaded:
```
2023-05-05 12:02:52.574064+0200 Pin Vision Watch App[423:14134] Error getting network data status Error Domain=NSPOSIXErrorDomain Code=19 "Operation not supported by device"
2023-05-05 12:02:52.574407+0200 Pin Vision Watch App[423:14134] Task .<0> HTTP load failed, 0/0 bytes (error code: -1009 [1:50])
2023-05-05 12:02:52.574955+0200 Pin Vision Watch App[423:14131] NSURLConnection finished with error - code -1009
```
In simulator the image is loaded correctly without errors.
How can I load map images directly in Device?
Thanks!
Contributor 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.
Research direction
The issue names no source files, tests, or entry points. Start by reproducing the image-loading failure on a physical Apple Watch and compare it with the simulator; inspect the watch app's network and map-image loading path. Done means map images load on the device without the reported network errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100