Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

I have a Kotlin Multiplatform Mobile project (KMP) targeting Android + iOS. My setup: Kotlin version: 2.2.21 Kotlin Multiplatform plugin: 2.2.21 CocoaPods plugin in build.gradle.kts: plugins { ...
sepideh's user avatar
  • 49
-1 votes
0 answers
46 views

I am working on a kmp project. I am implementing a multi-module architecture. I cant seem to find a gradle task that runs all tests in my project. All the tasks finish without finding any tests. I ...
Zeyad Gasser's user avatar
  • 1,544
0 votes
0 answers
39 views

I am building a Kotlin Multiplatform app where I want to use shared UI with Compose for both Android and iOS. However, I need some native views with their own state for certain parts of the app, so I’...
AlexelNintendero's user avatar
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 '...
RCH's user avatar
  • 1,309
0 votes
0 answers
80 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 ...
Pawandeep Singh's user avatar
1 vote
0 answers
85 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 ...
xtornasol512's user avatar
  • 2,439
2 votes
1 answer
173 views

PROBLEM Hi, I'm getting an endless loop of "Waiting for all target devices to come online", or the emulator just shows the Android intro but never loads. The JVM version of the program runs ...
Action Jackson's user avatar
2 votes
1 answer
116 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, ...
Pantastix's user avatar
  • 428
0 votes
1 answer
230 views

I’m building a Kotlin Multiplatform (KMP) app that runs on both Android and iOS. Currently, I’m storing the JWT token using Preferences DataStore on Android androidx.datastore.preferences.core ...
Pawandeep Singh's user avatar
0 votes
0 answers
51 views

So I'm working on a Kotlin Multiplatform project and ran into this weird limitation - you can't use @JsExport in commonMain, only in jsMain. This seems really counterintuitive since the whole point of ...
user7858768's user avatar
  • 1,086
0 votes
0 answers
126 views

I’m building an app with Compose Multiplatform (Kotlin Multiplatform) and I need to control the screen orientation for certain screens. For example: Screen X should always be shown in landscape mode. ...
Daniel Sem's user avatar
1 vote
0 answers
53 views

I am developing a desktop application for Windows using Compose Multiplatform and implementing an external web login flow (e.g., OAuth). After a successful login in the browser, the service needs to ...
ChoiUS's user avatar
  • 11
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....
axolotlKing0722's user avatar
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, ...
Mohamed Salem's user avatar
2 votes
1 answer
158 views

I recently updated my project to Compose Multiplatform 1.9.0-beta03 and Material3 1.9.0-beta03. After the update, I can no longer access: CircularWavyProgressIndicator ButtonDefaults....
Vivek Modi's user avatar
  • 7,859
1 vote
1 answer
51 views

@Entity data class Log( @PrimaryKey val id: String, val date: Long, val note: String, ) @Entity( foreignKeys = [ ForeignKey( entity = Log::class, ...
Surendra's user avatar
1 vote
0 answers
39 views

In the kotlin KMP documentation found For Windows apps, deep link schemes can be declared by adding keys with necessary information to the Windows registry (for Windows 8 and earlier) or by ...
d-feverx's user avatar
  • 1,702
0 votes
0 answers
53 views

I want to make a common dropdown for two TextField. I have manage to do something like following. But there is a problem with focusing. When I click again on the second TextField to open dropdown, it ...
Surendra's user avatar
0 votes
1 answer
176 views

In CSS, we have absolute position attribute to define the layer and position of an element within in our app. The absolute position ignores the default styling flow of the structure and can also work ...
404's user avatar
  • 91
1 vote
0 answers
73 views

i have a very simple image Image( imageVector = vectorResource(Res.drawable.swords), contentDescription = null, modifier = Modifier.width(82.dp) .clip(shape = ...
Nogi's user avatar
  • 154
2 votes
1 answer
210 views

Im trying to setup cocoapods in kmp project on android studio in separate cocoapods.gradle.kts file to be able to exclude it if platform is windows and run it if its mac. In my build.gradle.kts: if (...
Nikola Srdoč's user avatar
0 votes
0 answers
72 views

I’m working on integrating Kotlin scripting support into an OSGi environment. The project is Maven-based, and I’ve included all the necessary dependencies for .kts script execution. Currently, I’m ...
HIMANSHU SINGHAL's user avatar
0 votes
0 answers
56 views

When I start the iOS app, I want to send parameters from Firebase to my KMP project. I put annotations in the KMP Kotlin class so that it would be visible, the bridge class that is generated in ...
FlipNovid's user avatar
  • 1,229
0 votes
1 answer
100 views

I have 2 language support in my app. Language files are arranged like below: composeApp/src/commonMain/composeResources/values/lang.xml composeApp/src/commonMain/composeResources/values-bn/lang.xml ...
Touhid's user avatar
  • 1,754
1 vote
1 answer
235 views

I am building a KMP project, and I need to calculate the screen width and display data accordingly. How can I get the width in DP? The current implementation does not give the correct width. Common- ...
Pawandeep Singh's user avatar

1
2 3 4 5
45