Khanzada Kashif
07/02/2024, 10:59 AMUncaught Kotlin exception: io.ktor.client.engine.darwin.DarwinHttpRequestException: Exception in http request: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort"
Does anyone have any idea why this might be happening?
I found some issue threads on issue tracker and also on github but one they are related to android and JVM secondly there is no solution mentioned.rocketraman
07/02/2024, 1:48 PMDarwinHttpRequestException
is uncaught and not declared in the Objective-C header, the app is crashing.
I think you should be able to either 1) declare the exception in the Swift/Objective-C entry point of your library using @Throws
so the exception can be propagated and handled in Swift/Objective-C, or 2) catch it in your Kotlin code.Khanzada Kashif
07/04/2024, 10:56 AM