How We integrated Kotlin Multiplatform Into Profi

This page summarizes the projects mentioned and recommended in the original post on /r/KotlinMultiplatform

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • kotlinx.coroutines

    Library support for Kotlin coroutines

  • For asynchronous operations, we used kotlinx.coroutines and kotlinx.serialization for the serialization and deserialization processes.

  • kotlinx.serialization

    Kotlin multiplatform / multi-format serialization

  • Move from org.json to kotlinx.serialization and from JodaTime to klock. Some parts had to be moved into the platform-dependent code in the form of expect/actual.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • CrashKiOS

    Crash reporting for Kotlin/Native iOS applications

  • To get a stack trace, we included the CrashKiOS library from the Touchlab studio. When creating the coroutines, we added the CoroutineExceptionHandler, which identifies exceptions during their execution.

  • klock

    Discontinued Multiplatform Date and time library for Kotlin

  • Move from org.json to kotlinx.serialization and from JodaTime to klock. Some parts had to be moved into the platform-dependent code in the form of expect/actual.

  • Stately

    Kotlin Multiplatform State Library

  • For example, replace JVM IOException with kotlin.Exception and ConcurrentHashMap with Stately.

  • Kotlin-Multiplatform-Libraries

    Kotlin Multiplatform Libraries. Welcome PR if you find or create new Kotlin Multiplatform Library.

  • We did encounter some problems as a result of our ignorance. When we started on the project, there was very little information on the implementation of KMM, so we had to solve all of the issues ourselves. The Kotlin Multiplatform community is growing rapidly with more articles and reports appearing at conferences and meetups. There are channels in Slack and Telegram, libraries for Kotlin Multiplatform, and so on, plenty of information sources available.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts