Thread
#multiplatform
    c

    clark

    2 weeks ago
    Been working on a simple project that I'd like to consume from JS. Didn't realize you would have to use all of the package name anytime you wanted to use part of the package. Is it possible to make the different classes and methods in the package importable from the root?
    xxfast

    xxfast

    2 weeks ago
    you can also keep all the typealiases in the root level and let the long-package names only be referenced in kotlin
    typealias LoginDomain = au.com.gridstone.pscore.login.screens.LoginDomain
    shaktiman_droid

    shaktiman_droid

    2 weeks ago
    We just create a const on JS side and then use that everywhere so we don’t see full package name everywhere
    export const getAbcSDK = () => sdk.com.xyz.abcSDK
    c

    clark

    2 weeks ago
    These are great approaches. Thank you!