Do we have a store in the commonMain to store data...
# multiplatform
m
Do we have a store in the commonMain to store data like tokens and user info for both platforms.
a
m
Thank you @Ashu Tyagi for your help. but I'm looking for a more stable store.
e
You can also use Jetpack DataStore. You can see a good example how to set it up here: https://github.com/joreilly/FantasyPremierLeague
👍 1
m
Does it work for IOS as well? @Emil Butiri
e
Yes
This was actually one of the first jetpack libraries to support multiplatform
m
Thank you very much @Emil Butiri
e
np 🙂
i
You could even use ROOM, which has been updated to been usable in KMP in the past week(The choice of library to use depends only on your needs) https://developer.android.com/kotlin/multiplatform/room