Closed malcommac closed 2 years ago
Solution to this bug is to implement the callback and call super:
// Occasionally called by iOS, even though init(task:...) is implemented. Will cause a crash if not present.
override init(request: URLRequest, cachedResponse: CachedURLResponse?, client: URLProtocolClient?) {
super.init(request: request, cachedResponse: cachedResponse, client: client)
}
Platform Version
Any
SDK Version
Any
Xcode Version
Any
Steps To Reproduce
It's not always reproducible, but typically, it happens at the startup.
The error is:
Expected Behavior
Init continue w/o crash
Actual Incorrect Behavior
Crash of the hosted app.