https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
c

Charles Prado

05/12/2022, 10:53 AM
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?
d

David Nedrow

05/13/2022, 3:38 PM
Where are you seeing the error? In the console? If so, production builds don’t emit logging messages.
c

Charles Prado

05/13/2022, 3:41 PM
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
2 Views