Daniele B
10/11/2022, 10:48 AMTijl
10/11/2022, 10:54 AMVitor Hugo Schwaab
10/11/2022, 11:03 AMThese were chosen as they evaluate several important aspects of converting an existing library to multiplatform:
• Collections is an example of a library written in the Java programming language that has no Android-specific dependencies, but implements Java collection APIs.
• DataStore is written entirely in Kotlin, and it uses coroutines in both its implementation and APIs. It also depends on Java IO and Android platform APIs.For iOS, and even JVM, it is using Okio to access the file system and persist preferences. You can download the sources jar and see how it's implemented for each platform by clicking on
Artifact(s) -> source
.
Okio is a multiplaform library for IO by the way.zsmb
10/11/2022, 11:31 AMLandry Norris
10/11/2022, 1:01 PMzsmb
10/11/2022, 1:36 PMKeep in mind that theseThere is not even a ballpark estimate, we don’t even know if these multiplatform builds will become a stable release or not. This will depend on many things, among others, your feedback about them. If you have a use case for it, please try DataStore and tell us how it went, but please do not use these preview builds in production for now, as we do not support them like regular builds.builds are experimental and should not be used in production. They are published outside the regular release cycle of these libraries, and they are not guaranteed to graduate to stable.dev
dewildte
10/11/2022, 2:15 PMLandry Norris
10/11/2022, 2:15 PMdewildte
10/11/2022, 2:16 PMLandry Norris
10/11/2022, 2:30 PMLandry Norris
10/11/2022, 2:31 PMyigit
10/11/2022, 4:54 PMdewildte
10/11/2022, 4:58 PMcorouitnes is another set of challanges for KMP which are not too bad anymore thanks to the new memory modelI am so happy they are addressing that.
agrosner
10/12/2022, 2:14 PMLandry Norris
10/12/2022, 2:16 PM