• Jérôme Gully

    Jérôme Gully

    1 year ago
    Hi, just got that, i find no communication in release note about that. BTW it's still compile and run on my Linux machine.
    Jérôme Gully
    g
    +1
    10 replies
    Copy to Clipboard
  • aw

    aw

    1 year ago
    Hello, is there any good tutorial about how to integrate
    shared.framework
    (which is exported from :packForXcode) via a
    cococapods
    into an existing App, without linking the App-project with the MPP-project (like in the Android Studio example)? We need to have the MPP-project separate from the iOS App and only use
    cocoapods
    to link the (prebuild) dependency. Every example I find either directly invokes 😛ackForXcode from Xcode build-phases or uses
    cocoapods
    just to reference to the relative-path of the framework.
    aw
    Kris Wong
    19 replies
    Copy to Clipboard
  • a

    Amritansh

    1 year ago
    Hello, How can we create a Singleton in Kotlin which takes some parameters? The reason I am asking this in this channel is because in kotlin native we can not have var in an object class unless you annotate it with ThreadLocal. I am not sure how to save value in a member variables of a singleton object class.
    a
    t
    +1
    11 replies
    Copy to Clipboard
  • russhwolf

    russhwolf

    1 year ago
    What’s the state of support for the
    kotlin.mpp.enableCompatibilityMetadataVariant
    flag for library authors to avoid compatibility issues with projects that don’t enable heirarchical project support? I see it in the JB libs, but can I use it or should I avoid it?
    russhwolf
    b
    4 replies
    Copy to Clipboard
  • v

    Vincent Chen

    1 year ago
    message has been deleted
    v
    s
    2 replies
    Copy to Clipboard
  • Jérôme Gully

    Jérôme Gully

    1 year ago
    Hi, How do you encode/decode base64 in common code ? You go down to the android/ios specific sourceset ? I found that but it's seems forgottenhttps://github.com/Kotlin/kotlin-examples/pull/90
    Jérôme Gully
    gildor
    +2
    4 replies
    Copy to Clipboard
  • Paul Woitaschek

    Paul Woitaschek

    1 year ago
    We have created a library that is built on our CI linux machine. That library has no specific ios dependencies and all the logic resides in commonMain. Am I correct that I can't use that library at all unless I buy a mac and add an empty nativeMain source set and publish that?
    Paul Woitaschek
    Cicero
    +3
    8 replies
    Copy to Clipboard
  • Philip Dukhov

    Philip Dukhov

    1 year ago
    I wanna share env file among ios/android/server modules. I’ve created
    xcconfig
    file in Xcode, and shared it with android using
    android.buildTypes.resValue
    . How can I do the same with a KMP shared module?
    Philip Dukhov
    1 replies
    Copy to Clipboard
  • Frankablu

    Frankablu

    1 year ago
    I'm doing a port of a Kotlin/JVM to multi platform (JVM/Js/Native), is there any libraries I can call on for basic file i/o aka read a text file to a string and write a text file to a string (i assume it exist but I can't find it). Also I've got concurrency in the JVM version using worker threads (read jobs from a task queue and write results to a result queue), any multi-platform equivalent library?
    Frankablu
    b
    +1
    5 replies
    Copy to Clipboard
  • why

    why

    1 year ago
    Hi.. I’m in a need of a weakly referenced object like the one in java (WeakReference) how can I achieve that in KMP? In other words I need some objects to be cleared by the garbage collector when it’s weakly reachable
    why
    1 replies
    Copy to Clipboard