How can I round a number in Kotlin-multiplatform without using external libraries?
I have a KMP project, and I want to round the doubles into the needed number of decimals, without implementing this in each platform, using primitive types and standard library is preferable.
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 after the password input. Despite multiple attempts, I am not receiving any results or feedback in my logs, making it difficult to debug the problem.
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 after the password input. Despite multiple attempts, I am not receiving any results or feedback in my logs, making it difficult to debug the problem.
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 it obtains, and log the response to the terminal. Here is my code:
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:wasmJsTest: Could not resolve io.ktor:ktor-serialization-kotlinx-json:2.3.7.
Required by:
project :composeApp
Cannot access classes in custom common sourceset from an android build variant in a KMP module
I have a question regarding advanced project structure.
Kotlin Multiplatform. iOS compilation fails. linkPodDebugFrameworkIos. java.lang.IllegalStateException: Symbol for kotlin/Experimental
I have got the problem after upgrade of xcode to 15+ from 14.3
My app worked fine. But last time i edited it in Oct 2023.
Then my mac had been upgraded to new macos and xcode also upgraded to v.15
And compilation of the iOS app stopped to work.
Modelling augmented filtered list Kotlin Compose Multiplatform
Background This is a Kotlin Compose Multiplatform Desktop toy I’m playing around with. I’m new to Kotlin (and Compose). Scenario I have a library filled with books. I have a view where users can specify a filter criteria and I list a subset of the entire library for them based on the filter. I would […]
No value passed for parameter ‘thirdNumber’ How can I fix this error
fun main() {
println(add(10,7,9))
Kotlin Multiplatform Mobile – Try to create a button to change the page when I make more than 1 pages in the App()
Here is my App.kt
looked like: