https://kotlinlang.org
Join Slack
Hello guys, i'm in the proccess to develop app with kmm and my app need to use aws amplify library, ...
r

Reza Muttaqien

almost 3 years ago
Hello guys, i'm in the proccess to develop app with kmm and my app need to use aws amplify library, i have done the integrating for the android version and now i'm stuck in integrating aws amplify library with ios, i use the cocoapods integration, if i'm only import pod with just amplify, it finish pod install with success, but when i try to add pod for awscognitoauthplugin it always error on and it says i need to set swift version attribute, can someone help me to tell how to set the swift_version attribute on build gradle file? Here's the error message.
Executing of 'pod install' failed with code 1 and message:
Analyzing dependencies
Downloading dependencies
Installing AWSAuthCore (2.29.1)
Installing AWSCognitoIdentityProvider (2.29.1)
Installing AWSCognitoIdentityProviderASF (2.29.1)
Installing AWSCore (2.29.1)
Installing AWSMobileClient (2.29.1)
Installing AWSPluginsCore (1.28.4)
Installing AmplifyPlugins (1.28.4)
[!] Unable to determine Swift version for the following pods:
`-
AWSMobileClient
does not specify a Swift version and none of the targets (
ios
) integrating it have the
SWIFT_VERSION
attribute set. Please contact the author or set the
SWIFT_VERSION
attribute in at least one of the targets that integrate this pod.`
r
k
+2
  • 4
  • 7
  • 441
I'm trying to run a Compose for Web app on wasm, but I'm getting `Cannot find module 'skia'` error i...
a

Arkadii Ivanov

over 2 years ago
I'm trying to run a Compose for Web app on wasm, but I'm getting
Cannot find module 'skia'
error in the Chrome's console. The
compose-imageviewer
sample runs fine, though. I'm using Kotlin
1.8.20
, Compose
1.4.0-dev-wasm06
. Does anyone know how I could fix this?
a
o
d
  • 3
  • 12
  • 441
:wave: :mascot: <https://blog.jetbrains.com/kotlin/2023/04/the-kotlin-mascot-returns/|The Kotlin Mas...
a

Alina Dolgikh [JB]

over 2 years ago
👋 🧸 The Kotlin Mascot Returns – Say Hello to Kodee! 🎉 Kotlin’s mascot is finally back! With our community’s feedback in mind, we redesigned our mascot to give you a friendly companion and something special that will spark your imagination and evoke a sense of connection. We have prepared Kotlin mascot assets for you to explore and encourage you to experiment and engage your inner artist with Kodee. Discover more about Kodee in our latest blog post 👇
🧸 8
❤️ 7
💜 12
K 20
📌 71
❤️ 8
🧸 72
a
s
+4
  • 6
  • 7
  • 441
Kotlin multiplatform SqlDelight + Kotlinx-Serialization Has anyone tried to use SqlDelight with Kotl...
e

Elka

about 5 years ago
Kotlin multiplatform SqlDelight + Kotlinx-Serialization Has anyone tried to use SqlDelight with Kotlinx-serialization to parse the entities in JSON format, then, store them to the database? The JSON and the database table can be represented with the same model which is the one generated by SqlDelight. Trying to use the external serializer feature of Kotlinx-serialization but it doesn't look like it works well with
null
attributes specially that the JSON does NOT include the keys with null values like
"someAtt": null
. We're open to any suggestion on how to handle this considering that we have 40+ tables and we prefer if we don't duplicate the model or write the serializers ourselves.
e
n
  • 2
  • 12
  • 441
Hi folks! We're excited to share that a new Kotlin Multiplatform plugin is available in the dev chan...
i

Ilya Evtushenko

6 months ago
Hi folks! We're excited to share that a new Kotlin Multiplatform plugin is available in the dev channel for IntelliJ IDEA 2025.1.1.1 and Android Studio Narwhal 2025.1.1. We encourage you to install it and explore the improved KMP development experience. Your testing and feedback on this build are crucial for us as we prepare important fixes and future updates. You can download the plugin build here: Kotlin Multiplatform. Note that there are three separate downloads for IntelliJ IDEA Community, IntelliJ IDEA Ultimate, and Android Studio – make sure you get the correct one. You can download an archive and install it following these instructions. Installing directly from the Marketplace is not supported for dev builds, but once the plugin is available in the stable channel, you will be able to install it from the Marketplace within the IDE. If you are using Android Studio, you need to explicitly enable K2 mode. To do this, go to Settings | Languages & Frameworks | Kotlin and select the 'Enable K2 mode' checkbox. Also, the Compose Multiplatform IDE Support plugin needs to be uninstalled first. If you encounter any issues, please report them via our YouTrack.
kodee electrified 6
kodee happy 8
K 25
i
j
+13
  • 15
  • 50
  • 440
What's the proper way to replace `debugImplementation` and `releaseImplementation` in KMM? I have so...
c

Christian Würthenr

about 3 years ago
What's the proper way to replace
debugImplementation
and
releaseImplementation
in KMM? I have some dependencies that should go into the
androidMain
source set but with different dependencies for debug and release builds
c
e
  • 2
  • 3
  • 440
Why is `launch` allowed to cancel itself but `coroutineScope` isn’t?
s

Sam

about 3 years ago
Why is
launch
allowed to cancel itself but
coroutineScope
isn’t?
s
k
  • 2
  • 22
  • 440
Are there any tricks to testing `LaunchedEffect` as far as `TestDispatcher` is concerned? I'm tryin...
e

eygraber

over 3 years ago
Are there any tricks to testing
LaunchedEffect
as far as
TestDispatcher
is concerned? I'm trying to
advanceTimeBy
past a
delay
in a
LaunchedEffect
but that isn't working because the dispatcher is a
AndroidUiDispatcher
(or
FlushCoroutineDispatcher
in desktop). As far as I can tell, the only way around this is to create a new context (
launch
,
withContext
, etc...) that uses the
TestDispatcher
. Is that correct, or am I missing something?
e
z
+2
  • 4
  • 10
  • 440
I have an issue where a request is generating an exception <io.ktor.utils.io>.charsets.MalformedInpu...
j

jozefdransfield

almost 5 years ago
I have an issue where a request is generating an exception io.ktor.utils.io.charsets.MalformedInputException: Input length = 1, In the request handler i am doing call.receiveParameters() which i think is where the issue is coming from. However my issue is how can i capture the raw request as this is happening in the wild and i want to capture the body in a log so i can investigate?
j
r
  • 2
  • 14
  • 440
any one know why when using registerForActivityResult in BottomSheetDialogFragment the ide say Unres...
m

Mohamed Elfiky

over 5 years ago
any one know why when using registerForActivityResult in BottomSheetDialogFragment the ide say Unresolved reference: registerForActivityResult error but it runs fine
m
t
b
  • 3
  • 11
  • 440
Previous152153154Next

kotlinlang

A modern programming language that makes developers happier.

Powered by