My live app is having a crash with this class. I think it has to do with writing to sharedPreference using dataStore. But I need more light on this
k
Ky
02/20/2021, 6:32 PM
Maybe share some sample code?
p
pascalchidi
02/21/2021, 6:33 PM
Sample code ? I don't know where this error is found. Because it's API specific to Coroutines
k
Ky
02/21/2021, 6:49 PM
Yeah I was suggesting maybe sharing some code of how you are writing to sharedPref with DataStore. I’m only slightly familiar with dataStore so sorry I can’t really help.
m
Mikhail
03/02/2021, 10:31 AM
Maybe try catch the call where you call the datastore in coroutine?