Skip to main content

Questions tagged [kotlin-multiplatform]

Refers to Kotlin Multiplatform projects, aimed to share codebase between JVM, JS, Android, and Native

kotlin-multiplatform
0 votes
0 answers
4 views

kotlin multiplatform expect/actual usage

I used the KMP Library Wizard to generate a boilerplate project to support both Android and iOS. I can't figure out why the following code is not flagged by the compiler. I don't understand how the ...
Howard Lang's user avatar
0 votes
0 answers
11 views

How to use Proguard code obfuscation with Compose Desktop? [duplicate]

I'm going to build a compose desktop application using compose multiplatform framework and wanted to obfuscate code using ProGuard. And on their github page they also had a tutorial about ways to ...
Dang Xuan Thong's user avatar
0 votes
0 answers
14 views

kotlin multiplatform: firebase firestore + wasmJs. Is it possible? How?

I struggle for quite a few days now with just adding Firebase to my KMP project. I don't see any good example which uses Firebase for web within KMP. When I try to add Firebase's setup suggested by ...
Oleksandr Nos's user avatar
0 votes
0 answers
12 views

Kotlin Multiplatform Library - Best practices for library dependencies

I'm creating a Kotlin Multiplatform library that interacts with a Restful HTTP API service. The library depends on Ktor and Kotlin Serialization. When importing the library, users also have to import ...
Peter Araujo's user avatar
0 votes
0 answers
7 views

how to use ktor or networking in kmp web wasm project

I have downloaded the kmp project from kotlin wizard online everything works fine for mobile applications but when it comes to wasm web it does resolve dependencies here is the error :composeApp:...
Shahvez Ali's user avatar
0 votes
0 answers
15 views

How can i import my KMM Library to any kotlin application?

I have a KMM Library project and i want to test it on an app. I published library as mavenLocal and it is in my .m2 folder. When i trying to implement and import my library from my app gradle could ...
Yusuf's user avatar
  • 1
0 votes
0 answers
18 views

Unresolved reference when adding module dependency in Gradle for Compose Multiplatform project

I'm having trouble resolving a module dependency in my Compose Multiplatform project. I have a module named designSystem under the path composeApp:core:designSystem, and I'm trying to include it in my ...
Hossam Sadekk's user avatar
0 votes
1 answer
50 views
+50

What gradle entries are required for implementing KSP and Room in a Kotlin Multiplatform

I am in the process of converting a kotlin application to kotlin multiplatform (anroid only for now to get through initial configuration) with room. This included moving to a libs.versions.toml file ...
GeorgeRussell's user avatar
0 votes
0 answers
15 views

KMP issue with add material3 dependency

Hello there i am starting my first project with kotlin multi platform i am trying to add material3 dependency by adding this implementation(libs.androidx.material3.android) into commonMain....
Wesam Altorman's user avatar
0 votes
0 answers
10 views

TestScope doesn't work in Kotlin Multiplatform

I was trying to run a unit test of my kmp code on android(local) with TestScope by injecting it into the view model. Here's the code: class FrankfurterRepository(engine: HttpClientEngine) { private ...
Yauheni Mokich's user avatar
0 votes
1 answer
44 views

Kotlin Multiplatform + Jetpack Navigation + Android Studio Koala 2024.1.1 Patch 1 issues

I've started moving one of my older project (Java) to the KMP setup, my goal was to just move around the structure to KMP and slowly import Kotlin code from the shared folder into the androidApp. I ...
Suau's user avatar
  • 4,698
0 votes
0 answers
19 views

Integrating TrustWalletCore in KMM Project: Issues with Swift Wrapper and Dependencies

Hello Stack Overflow community, I'm currently working on a Kotlin Multiplatform Mobile (KMM) project and trying to integrate the TrustWalletCore library. I've encountered several issues, particularly ...
user3884677's user avatar
0 votes
0 answers
13 views

I cannot make a POST request with the Ktor library in Kotlin

I have a KMM library project in Kotlin, and I want to write a sendEvent function. The purpose of the function is to use an SSLPinner class to make a request to the server with the pinned HTTP client ...
Yusuf's user avatar
  • 1
1 vote
0 answers
45 views

Touchlab Xcode-plugin is not working with complex KMP Project

I've got a huge KMP project. min version iOS 14, xCode 15.2 For debugging purpose Kotlin code injected as a local pod: as a src not a binary file. Pod named KotlinShared. Unfortunately this plugin ...
Ivan Titkov's user avatar
0 votes
0 answers
19 views

compose multiplatform apple sign in

I am currently working on implementing Apple Sign In using Kotlin Multiplatform Mobile (KMM) and Jetpack Compose Multiplatform. I have encountered an issue where the process gets stuck on the screen ...
Dan Luciano's user avatar

15 30 50 per page
1
2 3 4 5
114