https://kotlinlang.org logo
Docs
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
multiplatform
  • v

    Vitaliy Zarubin

    10/25/2022, 3:26 PM
    Hello. Tell me, is it possible to somehow make protocol Identifiable in the data class for swift?
    h
    t
    +2
    • 5
    • 4
  • m

    Mohit Sharma

    10/25/2022, 7:33 PM
    Any headup on how fix this issue ?
    Caused by: kotlinx.serialization.json.internal.JsonDecodingException: Polymorphic serializer was not found for missing class discriminator ('null')
    2022-10-25 20:31:56.910 4548-4548/com.socialpillars.ngo E/AndroidRuntime: JSON input: .....te_time":"2022-03-30T06:43:29.433318+05:30","type":"post"}]}
    data class Posts(
        @SerialName("uuid") val postId: String,
        @SerialName("description") val description: String,
        @SerialName("likes_count") var likesCount: Int,
        @SerialName("images") private val _images: List<Image>,
        @SerialName("user") val user: User,
        @SerialName("is_liked") var isLiked: Boolean,
        @SerialName("create_time") private val _eventStartTime: String,
        var isMyPost: Boolean = false
    )
    data class FeedItem(
        @SerialName("post") var posts: Posts?,
        @SerialName("event") var events: Events?,
        @SerialName("type") var type: FeedType
    )
    c
    • 2
    • 2
  • s

    Shabinder Singh

    10/25/2022, 8:39 PM
    Both *AndroidStudio*(Flamingo | 2022.2.1 Canary 6) and IntelliJ (2022.2) are showing unresolved imports for:
    import androidx.compose.animation
    and 
    import androidx.compose.foundation
    but building successfully. Desktop and Common do recognise above packages but Android Doesnt. using Jetpack Compose - v1.2.0 Stable. Any Insights ?
  • s

    Shabinder Singh

    10/25/2022, 8:43 PM
    Recongised Packages: in Android vs Desktop, when added in CommonMain SourceSets.
  • l

    Lee Delarm

    10/25/2022, 8:47 PM
    Hey there, I've got an issue getting the
    Upgrade your App
    portion of the Kotlin multi Mobile. Rather than retype the WHOLE thing, I also created a ticket since at least one thing in the tutorial appeared to be a bug. To start with a summary though, the Android version does not error, but displays nothing when following the instructions to the letter. https://youtrack.jetbrains.com/issue/KT-54675/Kotlin-Multiplatform-Mobile-tutorial-android-network-display-issue
  • c

    Cas Van Luijtelaar

    10/26/2022, 8:09 AM
    Has anyone found a good way to encrypt
    androidx.datastore:datastore-preferences-core
    ?
  • h

    harry248

    10/26/2022, 9:47 AM
    Our iOS team is getting many "Could not find object file for symbol..." warnings. Anyone experienced that problem in a KMM project? @Christoph Bohnen
    s
    • 2
    • 1
  • r

    rohit1899

    10/26/2022, 11:57 AM
    Need help in KMM! We’re building a kotlin multiplatform project for audio/video (WebRTC) use case which will be used by native(android/iOS) app developers as a SDK. On android side we’re good. But on iOS side we are facing some challenges. We are using external local dependencies developed in swift. We’ve integrated those via cocoa pods. Now those classes are accessible for us in
    iOSMain
    which is ideal. But when we try to generate framework file of our
    Shared
    module, We think It does not include headers for the externally added dependencies. So our clients on their iOS apps need to add those dependencies along with our
    Shared
    framework. We wish to avoid this and create a unified framework which includes nested dependancies. So far we tried creating an umbrella framework project, where we added our
    Shared
    framework and other dependancies and then tried to create framework, it did not work as expected. We’ve tried to explain the problem using attached image. Please drop us a message here if you need any more information regarding same.
    k
    • 2
    • 2
  • m

    mkrussel

    10/26/2022, 1:26 PM
    In an Objective-C framework, I created a custom view that extends UIView. The cinterop process creates a constructor that takes a
    CValue<platform.CoreGraphics.CGRect>
    as an argument. I'm trying to upgrade to Xcode 14.0.1, and the constructor has now changed to take
    CValue<mypackage.CGRect>
    , so I can no longer pass in the value from
    CGRectMake
    . I don't really want my own copies of the platform types. I'm using Kotlin 1.7.0. Is this a known bug that will get fixed or am I likely doing something wrong in my interop setup.
    language = Objective-C
    modules = PangeaMapView
    linkerOpts = -framework PangeaMapView
    I tried added
    depends CoreGraphics
    but that didn't change anything.
  • b

    Benoit Quenaudon

    10/26/2022, 5:56 PM
    Did 1.7.20 change anything around default parameters between expect/actual classes? I have a project where the
    expect
    class’s contructor would have default parameter. The actual class would not set this parameter. It used to be fine unless I build the project using 1.7.20 It gives me the constructor doesn’t pass the defaulted param.
    // commonMain
    expect abstract class Foo(
      sourceFile: String? = null,
    ) {}
    
    // nativeMain
    actual abstract class Foo actual constructor(
      actual val sourceFile: String?,
    ) {}
    
    // nativeMain
    actual abstract class Bar protected actual constructor(
    ) : Foo() {} // This would complain `sourceFile` isn't passed in the constructor of `Foo`
    r
    • 2
    • 2
  • s

    Stylianos Gakis

    10/26/2022, 8:44 PM
    Trying to publish a private library using KMP, I was taking a look at this excellent post on publishing Android libraries to Maven Central and I was wondering. How far is an approach like this for a KMP project instead of an Android-only one? Is this setup still something that we can go for if our project is not open sourced? Prob not the right channel exactly for this question, but a bunch of you have probably gone through the process of publishing a MP library so you may be able to give me a hint or two.
    j
    a
    +2
    • 5
    • 19
  • s

    saket

    10/27/2022, 12:08 AM
    In case anyone wants to follow, I've created a feature request to integrate okio with ktor so that it's easier to fetch & serve files in multiplatform projects: https://youtrack.jetbrains.com/issue/KTOR-5066/Integration-with-okio
  • z

    zt

    10/27/2022, 4:34 AM
    Is there some multiplatform alternative to the android paging library?
    j
    b
    v
    • 4
    • 6
  • c

    Cas Van Luijtelaar

    10/27/2022, 8:39 AM
    Hey Everyone, I’m trying to add RemoteConfig from the firebase-kotlin-sdk to a KMM Library without an included IOS app. when I add the lib to the KMM starter app, I have no issue:
    kotlin {
        android()
        iosX64()
        iosArm64()
        iosSimulatorArm64()
    
        cocoapods {
            summary = "Some description for the Shared Module"
            homepage = "Link to the Shared Module homepage"
            ios.deploymentTarget = "14.1"
            podfile = project.file("../iosApp/Podfile")
    
    
            framework {
                baseName = "shared"
            }
        }
    
        sourceSets {
            val commonMain by getting {
                dependencies {
                    implementation("dev.gitlive:firebase-config:1.6.2")
                }
            }
            val commonTest by getting {
                dependencies {
                    implementation(kotlin("test"))
                }
            }
            val androidMain by getting
            val androidTest by getting
            val iosX64Main by getting
            val iosArm64Main by getting
            val iosSimulatorArm64Main by getting
            val iosMain by creating {
                dependsOn(commonMain)
                iosX64Main.dependsOn(this)
                iosArm64Main.dependsOn(this)
                iosSimulatorArm64Main.dependsOn(this)
            }
            val iosX64Test by getting
            val iosArm64Test by getting
            val iosSimulatorArm64Test by getting
            val iosTest by creating {
                dependsOn(commonTest)
                iosX64Test.dependsOn(this)
                iosArm64Test.dependsOn(this)
                iosSimulatorArm64Test.dependsOn(this)
            }
        }
    }
    but when adding it to a project that does not have an “iosApp podfile” but I get an error:
    ld: framework not found FirebaseABTesting
    for this build.gradle:
    kotlin {
    
    
        cocoapods {
            summary = "Some description for the $libBaseName."
            homepage = libSiteUrl
            ios.deploymentTarget = iosDeploymentTarget
            authors = libDeveloperOrg
            version = libBaseVersion
            license = "Unlicensed"
            name = libBaseName
            source = "{ :git => '$libGitUrl', :tag => '$libBaseVersion' }"
            extraSpecAttributes["vendored_frameworks"] = "'$libBaseName.xcframework'"
            xcodeConfigurationToNativeBuildType["CUSTOM_RELEASE"] =
                org.jetbrains.kotlin.gradle.plugin.mpp.NativeBuildType.RELEASE
    
    
            framework {
                isStatic = false
                baseName = libBaseName
                exportedProjects.forEach {
                    export(project(":$it"))
                }
    
            }
            specRepos {
                url("<https://github.com/Kotlin/kotlin-cocoapods-spec.git>")
            }
        }
    
        sourceSets {
            val commonMain by getting {
                dependencies {
                   implementation("dev.gitlive:firebase-config:1.6.2")
                }
            }
        }
    }
    I hope I’m missing something obvious
    l
    • 2
    • 8
  • e

    elect

    10/27/2022, 11:47 AM
    is anyone generating code per platform here? I'm doing atm for
    commonMain
    but I'd like to move it to specific targets (jvm and the rest), but I'm unsure how to do it. Now I have a single
    GenerateCode
    task, shall I have a
    GeneratorJvmCode
    and
    GeneratorNonJvmCode
    having each of them their own generated dir?
    @get:OutputDirectory
    val targetDir: DirectoryProperty = project.objects.directoryProperty()
            .convention(project.layout.buildDirectory.dir("generatedJvm")) // and the other one having "generatedNonJvm"
    • 1
    • 1
  • e

    elect

    10/27/2022, 1:15 PM
    is it normal to have accessor in Gradle only for
    commonMain
    but nothing for
    jvmMain
    or
    nativeMain
    ?
    kotlin.sourceSets {
        commonMain { .. }
        named("jvmMain") { .. }
    }
    j
    • 2
    • 1
  • s

    shahroz

    10/27/2022, 5:01 PM
    While publishing an Android library from my KMM library, i am facing something very weird, I am probably missing a step in the middle If my
    build.gradle
    file doesn't have an
    artifact-id
    the library that gets published works fine. Without artifactId
    group = "io.data.shared"
    version = "1.0"
    my content of my maven repo looks like this (which is fine):
    5206 Oct 27 21:42 shared-android-1.0-sources.jar
    10971 Oct 27 21:42 shared-android-1.0.aar
    8813 Oct 27 21:42 shared-android-1.0.module
    6831 Oct 27 21:42 shared-android-1.0.pom
    With artifact Id
    publishing {
        publications {
            create<MavenPublication>("maven") {
                groupId = "io.data.android"
                artifactId = "shared"
                version = "1.0.0"
            }
        }
    }
    my content of my maven repo looks like this (which isn't android specific):
    shared-1.0.0-kotlin-tooling-metadata.json
    shared-1.0.0-sources.jar
    shared-1.0.0.jar
    shared-1.0.0.module
    shared-1.0.0.pom
    j
    t
    • 3
    • 4
  • f

    FunkyMuse

    10/27/2022, 9:07 PM
    hey guys, did anyone achieve creating dynamic proxies with Kotlin when targeting multiplatform?
    k
    e
    a
    • 4
    • 4
  • t

    tylerwilson

    10/28/2022, 12:00 AM
    I have a KMM module that can target macOS too, but I currently cannot cleanly enable macosArm64 target. I get this when building:
    Fat frameworks are not supported for platform `macos_arm64
    I found some custom gradle code to build the XCFramework correctly, but it would be nice if it were built into the KMM plugin. Can we expect this might work in KMM Beta version?
    t
    • 2
    • 3
  • j

    Jimmy

    10/28/2022, 1:39 AM
    anyone had an issue with Ktor on iOS? the following code runs find on android, but hangs until timeout fires on ios:
    HttpClient().use { httpClient ->
        withTimeout(timeout) {
            httpClient.prepareGet(urlPath).execute { httpResponse ->
                ... do work ...
                // hangs here
            }
        }   
    }
  • j

    Jimmy

    10/28/2022, 1:39 AM
    the work block is run fine. but it just never exits the
    execute
  • j

    Jimmy

    10/28/2022, 2:09 AM
    seems to be something with the streaming response parsing this completes just fine
    HttpClient().use { httpClient ->
        withTimeout(timeout) {
            val body = httpClient.get(urlPath).bodyAsText()
            ... do work ...
        }
    }
  • c

    chansek

    10/28/2022, 7:58 AM
    By adding compose in KMM's androidMain dependency, I should be able to use @Composable in the KMM module right? Why do I get below error instead:
    org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering
    Here is my build.gradle.kts of KMM module
    android {
    buildFeatures {
       compose = true
      }
      composeOptions {
        kotlinCompilerExtensionVersion = "1.2.0"
      }
    }
    
    kotlin {
        ...
       sourceSets {
          ...
          val androidMain by getting {
         dependencies {
       implementation("androidx.compose.runtime:runtime:1.3.0-alpha02")
           ...
             }
          }
      ...
    }
    }
  • p

    ptmt

    10/28/2022, 8:26 AM
    What are the biggest KMM projects that you aware of in terms of Kotlin code compiled to iOS? I'm very interested in some pain points, caveats and optimization to their build pipeline that people do
  • j

    Julien F

    10/28/2022, 11:43 AM
    Hi, since I upgraded to macOS Ventura, I have this problem when trying to gradle sync my project in Android Studio.
    Executing of 'xcodebuild -project Pods.xcodeproj -scheme gRPC -sdk iphoneos -configuration Release' failed with code 65 and message: 
    
    Command line invocation:
        /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project Pods.xcodeproj -scheme gRPC -sdk iphoneos -configuration Release
    
    ...
    
    note: Building targets in dependency order
    /Users/julien/cash/mobile/shared/build/cocoapods/synthetic/IOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'gRPC-gRPCCertificates' from project 'Pods')
    /Users/julien/cash/mobile/shared/build/cocoapods/synthetic/IOS/Pods/Pods.xcodeproj: error: Signing for "gRPC-gRPCCertificates" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'gRPC-gRPCCertificates' from project 'Pods')
    ** BUILD FAILED **
    The command
    xcodebuild -project Pods.xcodeproj -scheme gRPC -sdk iphoneos -configuration Release
    runs fine when ran from a terminal. Has anyone had the same issue? We think it’s a problem with Ventura, but we’re not sure.
    a
    m
    • 3
    • 6
  • s

    shahroz

    10/28/2022, 12:53 PM
    Are there no solution to Swift UI preview failures with KMM ? 😞 I am exporting iOS framework from KMM library using (SPM via KMMBridge) that is using
    Ktor
    and
    sqldelight
    On storyboard it works as expected, Swift UI preview remains broken. I have gone through all the related reported issues, all of them require to make the framework
    dynamic
    and i have done so by adding all of the possible things
    cocoapods {
            summary = "Some description for the Shared Module"
            homepage = "Link to the Shared Module homepage"
            version = "1.0"
            ios.deploymentTarget = "14.1"
            framework {
                baseName = "shared"
                isStatic = false
            }
        }
    
     targets.filterIsInstance<org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget>()
                .forEach {
                    it.binaries.filterIsInstance<org.jetbrains.kotlin.gradle.plugin.mpp.Framework>()
                        .forEach { lib ->
                            lib.isStatic = false
                            lib.linkerOpts.add("-lsqlite3")
                        }
                }
    Yet my swift-UI preview fails
    HumanReadableSwiftError
        
        SettingsError: noExecutablePath(<IDESwiftPackageStaticLibraryProductBuildable:ObjectIdentifier(0x00006000005a18c0):'shared'>)
  • l

    Landry Norris

    10/28/2022, 4:54 PM
    I need to publish a KMM library to a maven repo for android only, and publish to a cocoapods repo for iOS only. When I set up maven publish, the multiplatform plugin applies publishing for all targets. Is there a way to get the behaviour of android publishing only? This library is for internal use and is pulled into a native iOS project, so publishing the iOS binaries to maven just wastes time and build minutes.
    n
    • 2
    • 2
  • e

    Eric Williams

    10/28/2022, 5:20 PM
    is
    kotlinx.html
    multiplatform compatible with iOS? I see this on Github "Available to all Kotlin Multiplatform targets" but was unable to pull it into a multiplatform project
    z
    • 2
    • 4
  • b

    brabo-hi

    10/28/2022, 7:40 PM
    hello, has BigDecimal been integrated to KMM
  • s

    Sebastian Lehrbaum

    10/28/2022, 9:08 PM
    I have an android app and a Ktor backend both written in Kotlin. Can I use KMM to combine them in one project and share the models? I haven't found any guides on this, is it not recommended?
    m
    m
    • 3
    • 2
Powered by Linen
Title
s

Sebastian Lehrbaum

10/28/2022, 9:08 PM
I have an android app and a Ktor backend both written in Kotlin. Can I use KMM to combine them in one project and share the models? I haven't found any guides on this, is it not recommended?
m

mkrussel

10/28/2022, 9:12 PM
You probably don' t need KMM for this. Build the code to share between the server and Android in a JVM module. The server and android apps will then link that library in as a project dependency (both can consume java libraries). Now if you decide you want the model classes to be useable from other platforms, then you need to make the models module KMM.
m

Mustafa Ozhan

10/28/2022, 9:23 PM
Yes you can definitely do it, i have an example project: https://github.com/Oztechan/CCC I share • database and database models • api and api models between android, ios and backend My backend receives and makes api calls so ktor client part is shared, and I use sqldeleight in my backend so i can share that as well
View count: 9