Been working on a simple project that I'd like to ...
# multiplatform
c
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?
x
you can also keep all the typealiases in the root level and let the long-package names only be referenced in kotlin
Copy code
typealias LoginDomain = au.com.gridstone.pscore.login.screens.LoginDomain
s
We just create a const on JS side and then use that everywhere so we don’t see full package name everywhere
Copy code
export const getAbcSDK = () => sdk.com.xyz.abcSDK
c
These are great approaches. Thank you!