83 questions
0
votes
0
answers
19
views
Using Clerk in Kotlin Multiplatform (KMP)
I'm trying to implement Clerk authentication in my Android Kotlin Multiplatform project following the official Clerk Android Quickstart Guide, but the SDK artifact referenced in the documentation ...
0
votes
0
answers
19
views
TaskExecutionException in building Desktop KMP application with KCEF for WebViewKMP in future
I do it like this in main.kt:
val bundleLocation = System.getProperty("compose.application.resources.dir")?.let { File(it) } ?: File(".")
LaunchedEffect(Unit) {
try ...
0
votes
1
answer
55
views
Kotlin arrow optics ksp plugin inside KMP project
Im trying to get the ksp plugin for arrow optics up and running in a KMP project.
I stared by only including the ksp plugin in the Android build file:
plugins {
// ...
alias(libs.plugins.ksp)
}...
1
vote
1
answer
141
views
Layout issues opening keyboard
I'm developing a typical chat screen, with the text input at the bottom. The app has a bottom bar with tabs and a topbar.
I'm struggling at getting what I understand to be the expected behavior (...
0
votes
0
answers
64
views
How to add space between text input and top of keyboard
My screen has an input field at the bottom. When opening the keyboard (Android, iOS), it pushes the input to the top so it stays above the keyboard. The baseline of the input is above the keyboard.
...
5
votes
3
answers
224
views
Can not use kotlinx-datetime:0.7.1 library with rememberDatePickerState() function of material3
Material3 rememberDatePickerState() crashing in desktop and iOS platforms.
I am using kotlin = "2.2.10" version for my Kotlin Compose Multiplatform (KMP/CMP) project. It runs fine on android ...
0
votes
0
answers
59
views
Kotlin Multiplatform: slow iOS debugging in Android Studio?
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, ...
0
votes
0
answers
44
views
Font is not generated in Kotlin multiplartform project
I am trying to create a multimodule KMP project. I have created a module name theme. Inside that I want to define my color, typography and all theme releted code. Now I have created a directory named ...
3
votes
1
answer
106
views
How to bundle an additional JAR file (updater) into a Compose for Desktop installer?
Problem Description:
I'm developing a Kotlin Multiplatform application with Compose for Desktop and want to implement an auto-updater. My architecture consists of two parts:
The main application (...
2
votes
0
answers
58
views
Kotlin Multiplatform: import shared in Xcode suddenly shows empty module
I'm working on a Kotlin Multiplatform project using the typical structure (shared, androidApp, iosApp). Everything was working fine until recently — I could import the shared module in Swift (import ...
2
votes
1
answer
176
views
Setting up cocoapods on kmp (kotlin multiplatform) project in separate gradle file
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 (...
0
votes
0
answers
47
views
How to access classes, methods and send parameters from native iOS to the KMP app?
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 ...
0
votes
1
answer
92
views
How to override language to get localised string for a specific language in Kotlin Multiplatform project?
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
...
2
votes
1
answer
51
views
Why are my external fonts not loading in an .htm file?
I'm trying to make documentation for a mobile keyboard for toki pona, and I'm going to be sharing the file around in a Keyman keyboard package. For one reason or another, files in the package can't be ...
0
votes
0
answers
37
views
how to take full screenshot in KMP Compose. actual iOS
package goodeva.smartsafety.opa.kmp.presentation.feature.upload
import platform.UIKit.*
import platform.Foundation.*
import platform.CoreGraphics.*
import kotlinx.cinterop.*
actual class ...