Hey guys, Can main app module and library module h...
# android
b
Hey guys, Can main app module and library module have different product flavors. If yes then how?
google 2
stackoverflow 2
In my case library has some configuration classes which it reads from main app
Can we have this library work in this case as I want it to just be plug n play in different projects.
Any help appreciated
d
Copy code
:warning: Using *Kotlin* to build Android applications. :google: can answer many questions.
Android Studio Integration.
Android-specific Gradle.
If not related to Kotlin, please consider using StackOverflow and/or <http://android-united.community/>.
b
@satyan thanks man. Sorry this won't work
So in my case there is a library which has say 4 flavours containing some class named xyz under different folders
Now any app can import this library but it's own product flavors will be different than the ones used library.
Since configuration class in library depends on app module configuration which has different flavors
So I'm bit confused how would it work
@dawidhyzy isn't this Android group?
s
Screenshot 2020-02-04 at 14.01.21.png
b
Sorry my bad I didn't know that we can't address Android stuff in this channel
d
This is why this channel becomes mess
b
I agree