https://kotlinlang.org
Join Slack
Hey all, could somebody assist me with running my Multiplatform app on an actual iPad? It seems to r...
a

Andrew O Hart

over 3 years ago
Hey all, could somebody assist me with running my Multiplatform app on an actual iPad? It seems to run using the simulator, but I keep getting this: ld: framework not found Pods_iosApp clang: error: linker command failed with exit code 1 (use -v to see invocation) When I try to build in xcode
a
k
  • 2
  • 76
  • 901
Hey! We need to format prices in local currencies in our kmm app. In Java we are using NumberFormat ...
p

Pavel Repkin

over 2 years ago
Hey! We need to format prices in local currencies in our kmm app. In Java we are using NumberFormat and Currency classes for this task. Is currency formatting supported in KMM natively? Are there any third party libs?
p
k
+2
  • 4
  • 4
  • 900
Testing K2 and build output seems strange. It says: `##### 100% (220/220) tasks have been compiled w...
t

Tolriq

almost 2 years ago
Testing K2 and build output seems strange. It says:
##### 100% (220/220) tasks have been compiled with Kotlin 2.0 #####
But as expected all the kapt tasks says:
w: Kapt currently doesn't support language version 2.0+. Falling back to 1.9.
Is this normal or am I missing some parameters?
t
j
t
  • 3
  • 6
  • 899
Trying to use ktfmt with spotless. In my root I added the plugin ```id("com.diffplug.spotless") ve...
c

Colton Idle

about 4 years ago
Trying to use ktfmt with spotless. In my root I added the plugin
id("com.diffplug.spotless") version "5.12.4"
then I added this block in my root build.gradle.kts
spotless {
    kotlin {
        ktfmt("0.24").dropboxStyle() // version and dropbox style are optional
    }
}
When I try to run
./gradlew spotlessCheck
I get
Could not determine the dependencies of task ':spotlessCheck'.
> Could not create task ':spotlessKotlinCheck'.
   > Could not create task ':spotlessKotlin'.
      > You must either specify 'target' manually or apply a kotlin plugin.
Any ideas?
c
j
  • 2
  • 12
  • 899
What is a good way to open a web url in an external browser for iOS with compose multiplatform? Tri...
p

Paul Wisner

9 months ago
What is a good way to open a web url in an external browser for iOS with compose multiplatform? Tried `UIApplication.sharedApplication.openURL(NSURL(string = url))`but it prints
[Application] BUG IN CLIENT OF UIKIT: The caller of UIApplication.openURL(_:) needs to migrate to the non-deprecated UIApplication.open(_:options:completionHandler:). Force returning false (NO).
Also got the same result from
LocalUrlHandler.current.openUri(url)
. I tried what's written in the error message, but that function doesn't seem to be defined. Or I don't know how to write it - I come from an Android compose background.. I also tried directly adding the 1.7.2 version of androidx.compose.ui but gradle sync barfed - looks like a version conflict..
p
m
+2
  • 4
  • 8
  • 898
Hello good people. Is it possible to have 2 versions catalog ( or some trick to merge two of them )?...
d

Davide Giuseppe Farella

almost 3 years ago
Hello good people. Is it possible to have 2 versions catalog ( or some trick to merge two of them )? The scenario is: We have the
main
project and a
sub
project as a submodule. Having different dependency versions caused some troubles, so we wanna align them.
sub
will have some dependencies in its toml file, but
main
would need some dependencies that are not available in
sub
d
j
v
  • 3
  • 17
  • 897
New :date: Date Picker components are now available on Composables UI Use these Compose Multiplatfo...
a

Alex Styl

12 months ago
New 📅 Date Picker components are now available on Composables UI Use these Compose Multiplatform Date Picker components to let your users select a date or date range. Live demo at: https://composablesui.com/components/components/datepickers
🔥 7
a
s
+2
  • 4
  • 23
  • 895
Anyone know if it's possible to disable compose previews from rendering. Wondering if it speeds up o...
c

Colton Idle

about 2 years ago
Anyone know if it's possible to disable compose previews from rendering. Wondering if it speeds up other things in my IDE like auto-complete when the preview loading wheel is spinning for minutes at a time.
c
m
  • 2
  • 1
  • 891
Which is a better choice for kotlin, quarkus or micronaut?
i

Iwan Aucamp

about 3 years ago
Which is a better choice for kotlin, quarkus or micronaut?
ktor 11
i
c
+5
  • 7
  • 35
  • 891
Hey guys, I wrote a guide how to setup firebase on iOS and Android using KMP as I've struggle to fin...
h

Hristijan

about 1 year ago
Hey guys, I wrote a guide how to setup firebase on iOS and Android using KMP as I've struggle to find a guide online that helped me do that https://funkymuse.dev/posts/kmp-firebase/ Hope it helps you too
👍 4
👍🏻 1
h
a
+4
  • 6
  • 8
  • 889
Previous464748Next

kotlinlang

A modern programming language that makes developers happier.

Powered by