Qracle
07/11/2021, 12:42 AMNacho Ruiz Martin
07/11/2021, 9:01 AMNikola Milovic
07/12/2021, 6:40 AMandroidMain
supports preview annotation but I don't get the option to run it. The only option would be to preview directly in the Android App but the app doesn't and shouldn't depend on some stuff that is required for previewing (for stubbing the data).Jonathan Sandusky
07/12/2021, 6:36 PMalpha
. Is there any timeline for beta
and stable
?Jonathan Sandusky
07/12/2021, 7:49 PMDean Djermanović
07/13/2021, 7:46 AMHttpClient
instance using Koin. Here’s my code:
single {
val buildVariant: BuildVariant = get()
val httpClientEngine: HttpClientEngine = get()
val kotlinxSerializer: KotlinxSerializer = get()
val tokenRefresher: TokenRefresher = get()
HttpClient(httpClientEngine) {
install(JsonFeature) {
serializer = kotlinxSerializer
}
install(Logging) {
...
}
install(HttpSend) {
intercept { clientCall, requestBuilder ->
...
requestBuilder.takeFrom(clientCall.request)
val newAccessToken = tokenRefresher.refreshToken()
requestBuilder.setAuthorizationHeader(newAccessToken)
execute(requestBuilder)
}
}
}
}
The problem is in this line:
val newAccessToken = tokenRefresher.refreshToken()
I get kotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen org.koin.core.scope.Scope
Can someone please explain why do I get this exception if I’m not trying to modify tokenRefresher
? refreshToken
is a suspending function, but for the debugging purposes, I made it a regular function which returns some string constant. The behavior is the same, I still get the same exception.
I’m using Ktor version 1.5.2
tylerwilson
07/13/2021, 6:52 PMw: skipping /Users/home/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-serialization-iosarm64/main-170/8edb8cd38df5e56e4d9bda9941b0588fb1b36305/ktor-client-serialization.klib. Incompatible abi version. The current default is '1.4.2', found '1.5.0'. The library produced by 1.5.20 compiler
I am unsure exactly what the message is saying, and where it might be getting the 1.4.2 version from. All versions are set to 1.5.20.Sourabh Rawat
07/14/2021, 3:15 AMSourabh Rawat
07/14/2021, 3:24 AMeirikb
07/14/2021, 4:57 AMJohn O'Reilly
07/14/2021, 9:41 AMRak
07/14/2021, 2:21 PMitnoles
07/14/2021, 5:50 PMSeth Madison
07/14/2021, 6:33 PMPHondogo
07/14/2021, 8:37 PMultraon
07/15/2021, 11:50 AMnative.cocoapods
Gradle plugin will support universal-framework
(fat binary) to distribute KMM library for independent iOS project? We want to use Cocoapods to wrap KMM iOS binaries and use it independently in iOS projects.
As I understand at the moment it is impossible to distribute KMM project (only sources) with Cocoapds and connect it to some iOS project so Gradle and other KMM libraries can be delivered transparently
and build the KMM sources during assembling iOS project. We don't want to make iOS engineers unhappy ;-)xxfast
07/15/2021, 2:56 PMhere▾
Scott Kruse
07/15/2021, 5:14 PMBen
07/15/2021, 11:29 PMmultiplatform
, and performed publishToMavenLocal. The jar files look to be in my local path .m2 path. So I'm not too sure why I'm getting this error when importing:
- file:/C:/Users/bchadwi/.m2/repository/me/bchadwi/multiplatform-android/1.0.2/multiplatform-android-1.0.2.pom
Required by:
project :app > me.bchadwi:multiplatform:1.0.2
Specifically, why gradle is looking for a multiplatform-android
?Bradford Canonigo
07/16/2021, 4:53 AM* What went wrong:
Execution failed for task ':initializeSonatypeStagingRepository'.
> Failed to create staging repository, server responded with status code 400
Slackbot
07/16/2021, 9:04 AMiamthevoid
07/16/2021, 2:26 PMrunBlocking
doesn’t work good with ios. I get tests passed
on jvm, but on ios it fails and seems that code inside runBlocking
never executesDaniel Kunis [JB]
07/16/2021, 4:04 PMMatthias Geisler
07/17/2021, 9:40 AMJavier
07/17/2021, 12:13 PMkotlin.native.enableDependencyPropagation=false
Slackbot
07/18/2021, 2:55 PMAndre Servidoni
07/19/2021, 7:33 AMkevindmoore
07/19/2021, 3:32 PMAlberto
07/19/2021, 9:43 PMJavier
07/20/2021, 8:05 AMJavier
07/20/2021, 8:05 AMBig Chungus
07/20/2021, 8:23 AMJavier
07/20/2021, 8:55 AM