Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

I am trying to create a path animation of Svg in the desktop compose app. fun SvgDocument.drawCompletedFills(buildPaths: List<BuildPath>, drawScope: DrawScope, canvas: Canvas, targetLength: ...
-3 votes
0 answers
64 views

During the development of the KMP + Compose application, I encountered an iOS-only UI issue. Video description of the rendering issue The problem looks like, when using the application in some random ...
5 votes
2 answers
3k views

I couldn't find anyone doing this so far so I'll try and properly state the issues I am facing. I have a compose-ui module in the shared module of my KMP app. The compose-ui has a commonMain directory ...
Best practices
0 votes
0 replies
34 views

How to include Java in this project and enable mixed development with both Java and Kotlin. I want to know how to use Java and Kotlin interoperably in a Kotlin Multiplatform Compose Desktop project, ...
1 vote
0 answers
60 views

PROBLEM Hi, I have IntelliJ Ultimate 2025.2.4, and Android Studio 2025.2.1. When I create a new default project in either one > download all the sources it needs > sync gradle > then click ...
0 votes
0 answers
66 views

I tried to follow: https://medium.com/@rishabh1112131415/how-to-handle-permissions-in-kotlin-multiplatform-without-external-libraries-05d7203237e3 but I get an error: No type named '...
0 votes
0 answers
76 views

I’m building a Kotlin Multiplatform app (KMP) and want to store sensitive values like auth tokens securely on iOS using Keychain (instead of NSUserDefaults). I found this code on Medium, but it does ...
2 votes
2 answers
2k views

I have a Kotlin Multiplatform project and build it for iOS with assembleXCFramwork Everything works fine and the module is created. But currently I don't see any version in the Info.plist file. In ...
3 votes
1 answer
226 views

how to determine IS_DEBUG in compose multiplatform in commonMain?. BuildKonfig and gmazzo/buildconfig don't help. If you know, please give instructions) Code: this code does not work `buildConfig { ...
1 vote
0 answers
82 views

I’m currently working on a Kotlin Multiplatform (KMP) project that includes a module for Google Maps integration (:core:maps:v2). Everything works fine on Android, but when I try to build for iOS, I ...
1 vote
0 answers
42 views

I'm trying to set up Dagger in a Kotlin Multiplatform module for Android only as a POC for a migration of a project. Therefore, I needed to set up kapt and followed the instructions in Kmp in Kapt ...
2 votes
1 answer
111 views

My Goal: I'm trying to implement an autocomplete TextField in Jetpack Compose. The desired behavior is: A user starts typing in a TextField. A list of suggestions, filtered by the user's input, ...
0 votes
0 answers
34 views

TLDR: can we expose interfaces from commonMain to JS that can be implemented in Typescript? Exposing from jsMain appears to work fine: If I expose interface from jsMain with external and @JsExport @...
0 votes
1 answer
96 views

I’m using Jetpack DataStore (Preferences) in a Kotlin Multiplatform Mobile (KMM/KMP) project to store some user data, including a JSON-serialized object: class DataStoreVM( private val dataStore: ...
2 votes
1 answer
775 views

I am currently building an android/ios mobile application with kotlin multiplatform compose. This application uses a django server for it's backend. The server has some self signed certificates that ...
1 vote
0 answers
69 views

I've been reworking an android app to make it a compatible with the the kotlin multiplatform framework. After getting stuck I decided to start with a fresh, very basic setup and build out from there. ...
1 vote
1 answer
3k views

I have a project in Android Studio for Kotlin Multiplatform Mobile (KMM) app using Kotlin. I am able to successfully run and build. However, when I open the project in Android Studio, I see the same ...
6 votes
3 answers
5k views

Is there any way to inject the ViewModel into composable function of Compose Multiplatform? I have tried with Koin dependency injection but it seems not yet ready to inject ViewModel in common module ...
1 vote
1 answer
3k views

I am creating my first kotlin multiplataform project, and i'm having some difficulty to use the kotlin flow on swift. I created the models, server data requests as common file using kotlin flow and ...
-2 votes
2 answers
229 views

I get ByteArray from camera in KMP project and try to upload it to server. I try this val response = client.post(url) { setBody( ...
14 votes
5 answers
3k views

I have implemented the latest version of Room in my KMP project (roomCommon = "2.7.0-alpha06" ). The new version change the instantiation setup for a RoomDatabase in a KMP project https://...
2 votes
2 answers
130 views

I have a Kotlin project for desktop which uses Room DB. The main function looks like this: import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import androidx....
5 votes
1 answer
203 views

BACKGROUND Hi, I'm new to Kotlin, Kotlin Multi Platform, and Jetpack Compose, but not a noob to programming. I found a use for a KMP project, and have been working on making a NavGraph and a ...
0 votes
0 answers
78 views

I’ve been experimenting with debugging the iOS side of a Kotlin Multiplatform project directly in Android Studio. Overall, it works — I can set breakpoints in shared Kotlin code, step through logic, ...

1
2 3 4 5
45