• Mikołaj Kąkol

    Mikołaj Kąkol

    1 year ago
    Hello, I have project with multiple modules, among them there is
    shared
    module that depend on (almost) all other modules. When building
    UniversalFramework
    it's headers doesn't contain classes from submodules unless exposed in shared API. Any idea how to make all classes visible to iOS?
    Mikołaj Kąkol
    1 replies
    Copy to Clipboard
  • a

    Azur Haljeta

    1 year ago
    Is it true that only pure Objective-C cocoapods can be included in a KMM project? I found this Starscream library for WebSockets, it seems very popular among iOS developers but it's written in Swift.
    a
    mbonnin
    +5
    16 replies
    Copy to Clipboard
  • a

    Alfred Lopez

    1 year ago
    Is there a kotlin equivalent to java.security.*?
    a
    j
    4 replies
    Copy to Clipboard
  • a

    arnis71

    1 year ago
    Hello, has anyone tried to add cocoapods integration for
    ios()
    target? I’ve found that imports for cocoapods dependencies in
    iosMain
    do not work. Only if i specify
    iosArm64()
    or
    iosX64()
    target it starts working. Is it supposed to be like this? If so how can I use cocoapods dependencies for all ios targets at once?
    a
    Artyom Degtyarev [JB]
    +1
    5 replies
    Copy to Clipboard
  • a

    Amritansh

    1 year ago
    Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug'
    I am getting No matching variant when I try to add my KMM library to my android app via maven local repository. I have added
    id("com.android.library")
    at the top of plugin list and also added
    kotlin {
        android {
            publishLibraryVariants("release", "debug")
        }
    }
    I have also specified matching fall back for debug in my library's build.gradle
    buildTypes {
        getByName("release") {
            isMinifyEnabled = false
        }
        getByName("debug"){
            matchingFallbacks.add("release")
        }
    }
    Any help will be appreciated
    a
    russhwolf
    3 replies
    Copy to Clipboard
  • j

    Jeff Tycz

    1 year ago
    Hopefully this isn't a silly question but is it possible to for a non-multiplatform Android app to use a multiplatform library? My intention is to have a library that can be used for both non-multiplatform projects and multiplatform projects. Is this even possible?
    j
    a
    +2
    8 replies
    Copy to Clipboard
  • travis

    travis

    1 year ago
    🎉 Excited to share with the community a Bluetooth Low Energy library we've been working on called Kable. Version:
    0.1.0
    Features: :kotlin: multiplatform, currently supports :android: , :javascript: and macOS targets, with additional targets planned in the future • Simple/unified :coroutine: Coroutines-powered API • Persistent characteristic observations (
    Flow
    remains active across reconnects) • Demo/sample app Feedback and 🐛 bug reports are appreciated/welcome.
    travis
    Big Chungus
    +1
    3 replies
    Copy to Clipboard
  • a

    Alfred Lopez

    1 year ago
    Can java.io be used in multiplatform or is there an equivalent kotlin package that I need to use? Or is there a "multiplatform" properties file loader that anybody knows about? Thanks!
    a
    aleksey.tomin
    +4
    26 replies
    Copy to Clipboard
  • Shan

    Shan

    1 year ago
    Looks like in Kotlin 1.4.21 the
    sources.jar
    is not being generated for the
    kotlinMultiplatform
    publishing target; was this change intentional does anyone know? I can still acquire a source jar with the
    metadataSourcesJar
    and append it to my common publishing task, but not sure if this is a bug or intended.
    Shan
    t
    +1
    3 replies
    Copy to Clipboard
  • e

    Eirik Vale Aase

    1 year ago
    Hi all 🙂 When it comes to supporting OAuth2 login flows in a KMM app (iOS, Android), what is the preferred solution? It’s not clear to me that ktor supports it (haven’t found any guides). I guess doing it natively on each platform is the way forward? I’ve been searching in this Slack, and found some relevant things. • kotlinlang#ktor
    e
    mbonnin
    6 replies
    Copy to Clipboard