Thread
#multiplatform
    Charles Prado

    Charles Prado

    4 months ago
    Hi! I’m facing some weird behaviors using async/await on the iOS side to consume stuff from the shared module. It only happens to me on the Release version of the app. For example: In debug mode, if I turn off my internet connection and call a method from shared that does an API request, it emits an error. However, in the Release mode, that error is not being emitted. Does anyone here have ever faced this type of weird behavior?
    David Nedrow

    David Nedrow

    4 months ago
    Where are you seeing the error? In the console? If so, production builds don’t emit logging messages.
    Charles Prado

    Charles Prado

    4 months ago
    Got the error after symbolicate the crash log from the device. It seems it was because of this: https://github.com/ktorio/ktor/issues/1165 Seems to be already fixed on Ktor 2.0.1 after this commit: https://github.com/ktorio/ktor/commit/8b56a8f3d8b157c9022b2f37da651afdf53c3383