So if I have a mpp targeting ios, android and js, ...
# multiplatform
c
So if I have a mpp targeting ios, android and js, and a lot of stuff are the same except for the fact that on js there's no persistance (with sqldelight for example)... How should I setup the project? I was thinking about
libCommon
which has all the models and business logic for the 3 platforms,
libMobile
which adds the persistance only for android/ios and then the
app
module with the code specific for every platform. The js app will have
project(':libCommon')
, while the android/ios apps will have
project(':libMobile')
, and libMobile will have
project(':libCommon')
. Is there any better approach? Thanks everyone ­čÖĆ (ps: I'm not even sure this will work, that's just what I'm thinking about before beginning a simple project)