https://kotlinlang.org logo
a

avinash sai pavan munnangi

09/26/2021, 9:33 AM
Hi all, Im new to KMM and Im trying to hit the api and get the data using coroutines. it is working fine in android facing issues in ios . can anyone help me
y

Yaniv Sosnovsky

09/26/2021, 9:52 AM
try to remove things little by little to figure out what the problem may be. I would suggest, removing the Utility class, and check if the method works. If it works, then you can know that the problem is somewhere in the Utility class
a

avinash sai pavan munnangi

09/26/2021, 10:33 AM
I dont have any util classes !other classes except this
m

Mustafa Ozhan

09/26/2021, 4:23 PM
what is the version for coroutines ? are you using the
Copy code
native-mt
one ?
ie. I use this one
Copy code
org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2-native-mt
3 Views