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

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 ...
Neil Pepper's user avatar
0 votes
1 answer
57 views

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 ...
Anjali's user avatar
  • 2,535
0 votes
0 answers
49 views

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 ...
Birou Rares's user avatar
0 votes
0 answers
38 views

I do it like this in main.kt: val bundleLocation = System.getProperty("compose.application.resources.dir")?.let { File(it) } ?: File(".") LaunchedEffect(Unit) { try ...
ZERODAY's user avatar
0 votes
1 answer
123 views

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) }...
kefomo's user avatar
  • 69
1 vote
0 answers
159 views

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 (...
ixx's user avatar
  • 32.3k
0 votes
0 answers
72 views

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. ...
ixx's user avatar
  • 32.3k
5 votes
3 answers
358 views

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 ...
Touhid's user avatar
  • 1,754
0 votes
0 answers
80 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
0 votes
0 answers
51 views

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 ...
Sumita Das's user avatar
3 votes
1 answer
116 views

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 (...
Pantastix's user avatar
  • 428
2 votes
0 answers
63 views

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 ...
김기윤's user avatar
2 votes
1 answer
219 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
58 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
102 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
2 votes
1 answer
54 views

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 ...
6XEN's user avatar
  • 23
0 votes
0 answers
42 views

package goodeva.smartsafety.opa.kmp.presentation.feature.upload import platform.UIKit.* import platform.Foundation.* import platform.CoreGraphics.* import kotlinx.cinterop.* actual class ...
Muhammad Zaki Hanif's user avatar
1 vote
1 answer
246 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 vote
0 answers
137 views

I'm using the SwiftKlib Gradle Plugin in my Kotlin Multiplatform Mobile (KMM) project to call Swift code from Kotlin/Native. When i click sync i get errors like this: Failed to generate cinterop for :...
serlok17's user avatar
0 votes
0 answers
105 views

I'm implementing a simple project using Ktor backend server and KMP Wasm. I am implementing the Google login feature. Google login was successful and saved the session information after authentication....
dev.farmer's user avatar
  • 2,861
0 votes
0 answers
53 views

I'm using Voyager for bottom tab navigation in my Jetpack Compose app. I have four tabs: Home, Appointment, Prescription, and Profile, each defined using TabNavigator. Inside each tab, I want to ...
ZIBRAN KHAN's user avatar
0 votes
0 answers
74 views

I'm creating a kotlin multiplaform project with compose-desktop support. For macOS desktop, I can run it using ./gradlew runDistributable, and I can run ./gradlew packageDmg and install it into my ...
Jerry Shang's user avatar
4 votes
2 answers
691 views

I'm facing an issue when building the iOS app for KMP Undefined symbols for architecture arm64: "_kfun:androidx.lifecycle.viewmodel.compose#...
Rufan Khokhar's user avatar
0 votes
1 answer
210 views

I'm an android developer in my kmp project I need the screen size : expect object ScreenSize { val heightDp: Float } in android platform i implemented it like this : actual object ScreenSize { ...
sepideh's user avatar
  • 59
0 votes
0 answers
69 views

I'm doing KMP project with AWS Cognito without libraries and I want to add Google sign in. I added Google in Federated identity provider sign-in and when I test it on webpage Cognito provides, it ...
tilen pintarić's user avatar
0 votes
1 answer
43 views

Performing a deserialization of a response from a restful service we get back a decimal data where we try to receive it as a Double, however when operating it, it remains as scientific notation for ...
Juan Esteban Lopez's user avatar
1 vote
1 answer
63 views

in my kmp project i want to implement a reminder in android and ios platform . interface ReminderScheduler { fun scheduleReminder(reminder: Reminder) fun cancelReminder(id: String) } expect ...
sepideh's user avatar
  • 59
0 votes
1 answer
187 views

In kotlin multiplatform with IOS, I am trying to start the app via a link and some parameters: iosstaging://open?userId=1234 That part works fine. Upon entering the link into safari, the browser asks ...
Basti X's user avatar
  • 41
0 votes
1 answer
102 views

Kotlin Multi platform - Decoding fails - with Double with more decimals { "Test": [0.1, 0.01, 0.001, 0.0001, 0.0001] } Note: The challenge is not in Kotlin alone. The change is with Kotlin ...
yarlg's user avatar
  • 3,661
0 votes
0 answers
17 views

I am working on a kotlin multiplatform project targeting iOS & Android, and using this amazing library Multik. implementation "org.jetbrains.kotlinx:multik-core:0.2.3" implementation &...
Devendra Singh's user avatar
0 votes
0 answers
86 views

The documentation on the Code Migration section states how to perform such migration but it doesn't say where do you put this code, or if there's something else to do to make it work.
Alex Luque's user avatar
3 votes
1 answer
640 views

KMP project. I've uninstalled ruby and reinstalled using brew and rbenv. kdoctor shows all check marks ruby 3.4.2 ruby gems 3.6.3 cocoa pods 1.16.2 When I open my project in Xcode I get the following ...
Kurtis's user avatar
  • 49
1 vote
1 answer
200 views

I’m working on a multi-module Compose Multiplatform (CMP) project and created a new CMP library module using libs.plugins.multiplatform.library. However, when I added font resources and tried to use ...
Al-Taie's user avatar
  • 268
0 votes
0 answers
62 views

Multiplatform project trying to use Firebase Analytics and Crashytics. I have room setup and offer backup for the database to firebase storage. In the database I have a settings table so user setup ...
Kurtis's user avatar
  • 49
0 votes
0 answers
74 views

I'm starting a KMP project using native UI's (Compose and Swift UI) and want it to control the shared module version independently by platform. The project was created with the KMP Wizard. When some ...
cMobile's user avatar
  • 745
2 votes
1 answer
170 views

I have a problem importing my kmp lib to my sample project. Project I have the following code structure : ├── app/ (KMP App module containing my samples apps) │ ├── commonMain/ │ ├── androidMain/ │...
clemence roumy's user avatar
0 votes
0 answers
95 views

I'm pretty new to KMP and see often in sample code that there is an androidMain on the same level as commonMain and iOSMain. This is straight forward and I understand this. BUT there are also platform ...
Arc's user avatar
  • 1
1 vote
1 answer
571 views

my problem is: Dispatchers.Main was ccessed when the platform dispatcher was absent and the test deispatcher was unset. Please make sure Dispatchers.setMain() is called before accessing Dispatcher....
Егор Сауткин's user avatar
2 votes
1 answer
145 views

Given a string of DNA characters (accepted characters: A, C, G, T) and a disease, with gene x (consider a pattern P to be found) also using the same alphabet. The task is to search the DNA strand ...
Luiz Fernando's user avatar
0 votes
0 answers
115 views

I am working on a Kotlin Multiplatform Project (android and desktop(windows)) that uses Coil 3 for loading images in a Jetpack Compose UI. My goal is to refresh an image when the user clicks a refresh ...
22. Nabil K N's user avatar
1 vote
2 answers
693 views

I have composed a multiplatform project with Android and iOS. The Android app runs and installs successfully, but when I run the iOS app from XCode build, it fails with the below error. 🛑 No ...
Murali M's user avatar
3 votes
2 answers
259 views

I need some help please, I want to do some tests using Instrumented in Android (I need to get the appContext, to get the directory to create my test db). But I was having the error: No instrumentation ...
Diego Gaona's user avatar
0 votes
0 answers
89 views

protected suspend fun uploadProfileImage(userId: String, imageUri: Uri): String { val fileRef = storage.reference.child("profile_images/$userId.jpg") fileRef.putFile(imageUri).await()...
IWNAZZ's user avatar
  • 9
0 votes
0 answers
77 views

I just use standard setup from Kotlin Multiplatform Wizard and manually setup CocoaPods plugin. here is my configuration: libs.versions.toml [versions] agp = "8.5.2" android-compileSdk = &...
Arsenius's user avatar
  • 5,812
0 votes
0 answers
105 views

I have started a new project with KMM(Kotlin multiplatform). I need to use the original IOS map (MKMapView) in my project. According to the instructions of this article integrating-mapkit-in-compose-...
morteza's user avatar
  • 33
2 votes
0 answers
87 views

How do I insert simple scrollbars in my Kotlin Multiplatform app? I'm supporting Android, iOS, Windows (JVM) and Mac (JVM). Researching this topic, I found there is a Jetpack component, but it's ...
joe1806772's user avatar
0 votes
0 answers
445 views

I tried to implement the Google authentication with Firebase in Compose Multiplatform framework using Kotlin in mobile engineering, but I didn't find the way to build it for iOS. I composed the Google ...
Lucas Kim's user avatar
0 votes
0 answers
36 views

the android app can run successfully. and the gradle add the listOf( iosX64(), iosArm64(), iosSimulatorArm64() ).forEach { iosTarget -> iosTarget.binaries.framework { ...
qian 's user avatar
  • 55
1 vote
0 answers
115 views

I have created a separate KMP project using KMP Wizard and I am using native UI for both platform(Android and iOS) in respective folders, Maintaining the business logics in shared Folder with clean ...
arun's user avatar
  • 245
0 votes
0 answers
94 views

I am implementing an Emoji picker on Kotlin Multiplatform with Compose Multiplatform. Since there is no multiplatform for androidx.emoji2:emojipicker, I implement this Composable using and expected ...
Philipp Fahlteich's user avatar