I get an error when I use a suspend function on Ios, I've tried some of the solutions such as adding something to gradle properties and libraries and it still does not work
Howie Nguyen
02/20/2023, 12:13 AM
get this error each time i call a suspend function from my api file in the shared folder
e
Evegenii Khokhlov
02/20/2023, 8:19 AM
Like error says calling Kotlin suspend function is only available in main thread
You have two option
• wrap suspend function call in