kotlin-multiplatform-example | Kotlin multiplatform example app that targets | Dashboard library
kandi X-RAY | kotlin-multiplatform-example Summary
kandi X-RAY | kotlin-multiplatform-example Summary
A Kotlin multiplatform example app that targets Android, ReactJS, iOS, JavaFx, and Spring Boot
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kotlin-multiplatform-example
kotlin-multiplatform-example Key Features
kotlin-multiplatform-example Examples and Code Snippets
Community Discussions
Trending Discussions on kotlin-multiplatform-example
QUESTION
I am trying to build a simple Kotlin Multiplatform app that calls to the internet to fetch some Strings from the internet with ktor. I took some functions from Kotlin conference app which I compiled and it works fine on both Android and iOS.
However, in my sample app, it only works on Android, but on iOS it returns
Here is the GitHub repository and below is my code:kotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen @c422ffe8
ANSWER
Answered 2018-Dec-14 at 01:14Turns out that the Kotlin version 1.3.11
is causing the trouble. I have downgraded it to 1.3.10
and it works perfectly fine. ktor will receive a fix in the next minor release.
Source - Kotlin Slack, multiplatform channel.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kotlin-multiplatform-example
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page