• r

    Ricky

    2 years ago
    Is there a way to use KMP like this? having expect/actual would be really useful for this project.
    r
    russhwolf
    3 replies
    Copy to Clipboard
  • e

    edenman

    2 years ago
    I have a
    KClass<T>
    and I would like to get a corresponding KType….
    KClass.createType
    is JVM-only, anybody know if there’s a KMP way to do this?
    e
    m
    3 replies
    Copy to Clipboard
  • s

    Sergei Novikov

    2 years ago
    Hi everyone, can you please tell me if it is possible to use Retrofit in a MP library?
    s
    gildor
    5 replies
    Copy to Clipboard
  • nrobi

    nrobi

    2 years ago
    Shouldn’t
    withContext(Dispatchers.Default)
    work with coroutines
    1.3.8-native-mt-1.4.0-rc
    on iOS as well? I’m getting
    There is no event loop. Use runBlocking { ... } to start one.
    nrobi
    John O'Reilly
    2 replies
    Copy to Clipboard
  • tylerwilson

    tylerwilson

    2 years ago
    How is there no common String.format yet? 😞
    tylerwilson
    Dominaezzz
    +1
    5 replies
    Copy to Clipboard
  • Nick

    Nick

    2 years ago
    Has anyone been able to get a j2objc library to work on multiplatform? I’m importing the library using cocoapods.
    xcodebuild
    fails to build the Pods.xcodeproj with error 65.
    ** BUILD FAILED **
    The following build commands failed
    CompileC [long dir]/AbstractQuoteEventSchema.o [long dir]/AbstractQuoteEventSchema.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC [long dir]/AccountBalanceMessageHandler.o [long dir/AccountBalanceMessageHandler.m  normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    Nick
    kpgalligan
    7 replies
    Copy to Clipboard
  • e

    Evan

    2 years ago
    does anyone know how the kotlin targets
    androidTest
    and
    androidAndroidTest
    interact? I can’t run instrumentation tests unless I comment out androidTest’s dependencies due to a duplicate class exception. Also, my
    androidTest
    unit tests don’t pass if I have dependencies in
    androidAndroidTest
    , but they pass once I comment the instrumentation dependencies out.
    e
    vincentm
    3 replies
    Copy to Clipboard
  • h

    hultgren

    2 years ago
    When migrating my MP project to kotlin 1.4 I ran into a problem with publishing android artifacts. This:
    android {
            publishLibraryVariants("release", "debug")
        }
    used to work fine but after migrating I get this error:
    Kotlin target 'android' tried to set up publishing for Android build variants that are not library variants or do not exist:
    * release
    * debug
    Check the 'publishLibraryVariants' property, it should point to existing Android library variants. Publishing of application and test variants is not supported.
    Replacing above with
    publishAllLibraryVariants()
    does build, but it publishes no android artifacts. Anyone else seen this?
    h
    a
    3 replies
    Copy to Clipboard
  • o

    Oleh

    2 years ago
    Hey guys, anyone has migrated successfully MPP project that uses ktor to 1.4? I’m receiving
    Could not resolve io.ktor:ktor-client-json-native:1.4.0.
    all the time. When I setup only
    core
    dependency, android/ios client doesn’t appear there.
    o
    John O'Reilly
    3 replies
    Copy to Clipboard
  • r

    ribesg

    2 years ago
    Quick question, when documenting
    expect
    -
    actual
    things, do you need to copy the KDoc on each
    actual
    on each platform or is documenting
    expect
    enough? I’m talking mostly from a IDEA-picking-it-up point of view
    r
    Arkadii Ivanov
    +3
    9 replies
    Copy to Clipboard