Howie Nguyen
02/19/2023, 11:26 PMEvegenii Khokhlov
02/20/2023, 8:19 AMDispatchQueue.main.async
• in your gradle.properties
add kotlin.native.binary.objcExportSuspendFunctionLaunchThreadRestriction=none
- this is experimental flag which is turning off the restriction
check out my article with more tricky parts of Kotlin <-> Swift interoperability1.7.20+
(since it new memory model is turned on by default) and all possible exceptions declared in @Throws