Hi , I am developing a purely android module right...
# multiplatform
a
Hi , I am developing a purely android module right now but I might need to make it multiplatform in future so I am using multiplatform libraries in my pure android module . If there is a library which is meant to be used in commonMain dependency can I not use it in my android module ? library documentation :
Copy code
//Syntax might be wrong
commonMain {
     implementation (library)
}
But I want to currently use it purely in android module androidbuild.gradle
Copy code
dependencies {
    implementation library
}
The reason I am asking this is because I am not able to find the library’s classes after adding dependency.
p
Appyx does that. They have the library code in commonMain and you can import an Android only aar. Check how they do it: https://github.com/bumble-tech/appyx
👀 1