Open taher-mosbah opened 4 years ago
I'm facing similar issue. @taher-mosbah Did you get it to work somehow? Any alternatives?
No no luck, one possible solution I didn't get time to explore is to use onBackgroundURLSessionEvents
Hey guys, did you get it working? The request is done but as you said it get deinit instantly. So looks like there's now way to use Combine approach for this.
Did anyone ever find a workaround for this?
I've posted an update with iOS 14 fixes, but haven't checked widgets support. I'd very grateful if you happen to find some time to check whether this solves your issue with widgets.
@V8tr - unfortunately the updates posted with iOS14 fixes do not resolve the issues for me. The imageLoader gets deallocated too soon.
Hello, Thanks for the example !
I was trying to use your code for an iOS 14 widget extension but the ImageLoader gets deallocated too soon, any ideas ? maybe a limitation in how WidgetExtension works ?