Open joaopdcgarcia opened 3 years ago
Nevertheless, since its not on the client nor on the server, it must be coming from the framework.
This framework does not provide or bundle any image assets. This is open source project, you can investigate anything.
I think this is something from Apple's SwiftUI framework itself ? Or the System symbol image. You can use the Xcode View Debugger to find the description of that image to see what it is.
so the issue is that HomeWidgets don't allow async downloads. So I have to download the image first, store it on disk in a shared container path and only display it then, synchronously.
I'm using SDWebImageSwiftUI for the first time. And I'm getting a forbidden image. Nevertheless, since its not on the client nor on the server, it must be coming from the framework.
I'm using this in a HomeWidget extension (thus using the SwiftUI version of this framework here), to download and cache and display images in there. And also to possibly share the cache with the main app?
I have set the Authorization Bearer token in the Widget init() method and App Transport Security Security is set to allow arbitrary loads.
Any clues of what may be happening?
Also, onFailure and onSuccess don't seem to be called.