85 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
0
replies
37
views
Is There an Easier Way to Use Swift Code in Kotlin Multiplatform? Step-by-Step with Cocoapods
Is there any new/easy way to call swift function from kotlin directly in kmp project?
or
Can anyone explain the same using cocoapods step by step?
0
votes
1
answer
65
views
Koin VM/navigation on Kotlin Multiplatform - singleton viewmodel becoming unable to launch coroutine after popBackStack
Maybe I'm doing something wrong but this seems very strange to me took me a while to track down the cause but basically ViewModels are getting corrupted whenusing popBackStack or swipe left, vm's are ...
0
votes
1
answer
69
views
Kmp ios stripe integration
I have a kmp app I was able to add stripe in Android app but iOS side not working in any way. I tried adding stripe using swift package manager and also tried the StripeBridge way but nothing is ...
0
votes
0
answers
55
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
44
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
128
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
0
answers
175
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
79
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
427
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
90
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
57
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
119
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
74
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
244
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
61
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 ...