Questions tagged [kmm]

For questions related to Kotlin Multiplatform Mobile, also known as KMM. It is an SDK for iOS and Android app development. Not to be confused with Kotlin Multiplatform which is abbreviated as KMP. KMM is an subset of KMP.

118 questions
0
votes
0 answers

Can't run IOS tests for Kotlin Multi Plateform Mobile app

I just installed the KMM plugin on Android Studio to create a multi plateform mobile app. I followed all the steps in the doc https://kotlinlang.org/docs/kmm-create-first-app.html#run-your-application-on-android but when I tried to run the test for…
0
votes
1 answer

Why does Koin throw "Uncaught Kotlin exception: kotlin.native.IncorrectDereferenceException" in my KMM app?

Uncaught Kotlin exception: kotlin.native.IncorrectDereferenceException: illegal attempt to access non-shared org.koin.core.context.GlobalContext.KoinInstanceHolder from other thread I have already checked that I am calling InitKoin() on the main…
HoratioCain
  • 915
  • 9
  • 19
0
votes
0 answers

Jetpack Compose Card , getting increased more than the specified width

I made a list in jetpack compose and the items in it are, Like a Card Composable. The basic functionality is to get data from the network and display it. The issue I am facing is that after the initial loading, the cards are displayed ok but when I…
0
votes
0 answers

КММ custom iOS framework - could not build module

I'm trying to import my ios framework, from where I'm getting this error: fatal error: could not build module 'FRAMEWORK_IOS' Also I successfully imported other third party frameworks like: mapbox and firebase framework. Overall this error that I'm…
cross_flame
  • 840
  • 2
  • 11
  • 24
0
votes
1 answer

Xcode can not Preview my KMM-App, how to solve this?

I have this Problem where Xcode can not Preview my Kotlin KMM App. I created the App in Android Studio according to Kotlin. The Android App works and the iOS App aswell. But the problem is im new to iOS development and Xcode. As far as I know I need…
FunEnergy
  • 11
  • 5
0
votes
1 answer

Nested KMM Package Not referenced correctly

I am trying to used 2 KMM packages inside of my iOS app however its not being referenced correctly. Here is my dependency structure: iOSApp + KmmPackageOne + KmmPackageTwo KmmPackageOne + KmmPackageTwo Here are the example files im trying to…
0
votes
1 answer

multiplatform mobile application development

Is there anybody who kindly help me to make a decision between kotlin multi-platform mobile (KMM) with android studio versus javafx (gluon) for IOS/Android application development. -Run time performance (startup time, code size,power consumption,…
a.lgl
  • 161
  • 1
  • 3
0
votes
0 answers

Kotlin Multiplatform serve ktor as backend jvm module

I'm working on my multiplatform project and added ktor based backend module as part of it as i wanted to share my common code with this backend module i've added it to dependencies implementation(project(":shared")) But there seems to be an issue…
0
votes
1 answer

Kotlin Multiplatform: How to call getOriginalKotlinClass from swift?

How to get Kotlin Class from swift code? I need it for dependency inection. In documentation it says that there's a method getOriginalKotlinClass, but where can I get it? For example I have an object that is available in swift from Kotlin library…
0
votes
0 answers

Kotlin Multiplatform project gives this error while trying to access StateFlow Cannot access kotlinx.coroutines.flow.Flow

In my KMM App trying to collect the state of the data via coroutine StateFlow but it throwing me this error does anyone know what could cause this to happen Cannot access 'kotlinx.coroutines.flow.Flow' which is a supertype of…
Chinthaka Devinda
  • 997
  • 5
  • 16
  • 36
0
votes
1 answer

configuration to Ignore self-signed certificate in ktor httpClient(js) JS engine

Kotlin multiplatform library, my setup looks like the following. Obviously, my JS test fails with the error "Error: Fail to fetch" because the Ktor httpClient(JS) was not configured to ignore/Trust Self Signed certificate. and according to the…
Ipkiss
  • 721
  • 2
  • 15
  • 27
0
votes
1 answer

DataBinding error in multiplatform app using Kotlin Multiplatform Mobile (KMM)

I'm new in Kotlin and I'm facing problem with DataBinding - Cannot access class ViewModel. Check your module classpath for missing or conflicting dependencies. But DataBinding is connect in block buildFeatures My build.gradle.kts(androidApp): …
Diy2210
  • 19
  • 3
-4
votes
1 answer

Kotlin Multiplatform Mobile(KMM) .I want to make my Android application work on iOS using KMM?

eg: details about the questions ..i have a android app project using Kotlin. I want to make my Android application work on iOS using KMM.i haven't found any live solution yet. it would be great if you've any practical example to to make my Android…
Debendra
  • 35
  • 2
  • 13
1 2 3 4 5 6 7
8