vab icon indicating copy to clipboard operation
vab copied to clipboard

Modularization support of native libs to get AAB suitable for "instant apps"

Open dumblob opened this issue 2 years ago • 2 comments

I wonder whether vab strives to support splitting the app into (potentially many) pieces of independent "bundle parts" (Android App Bundle "features" aka "modules") as described in https://medium.com/androiddevelopers/a-patchwork-plaid-monolith-to-modularized-app-60235d9f212e to achieve the "instant apps" functionality incl. so called "dynamic features" (i.e. basically views downloaded later on demand).

See https://www.youtube.com/watch?v=L9J2e5PYXNg for context.

And Android doc: https://developer.android.com/topic/google-play-instant/getting-started/instant-enabled-app-bundle

dumblob avatar Dec 14 '21 15:12 dumblob

It does split for architecture. Not much else currently. V is mostly focused on monolithic builds - which doesn't fit well into this feature of theirs. At first glance it also looks like it will will need features only available via Java packages via e.g. maven or google which will require better integration with Java. It's possible until someone proves it's not I guess 🙂

larpon avatar Dec 14 '21 19:12 larpon

At first glance it also looks like it will will need features only available via Java packages via e.g. maven or google which will require better integration with Java.

Yep, this is more or less what I meant. But if it's possible as you say, then let's keep this open as a feature request :wink:.

dumblob avatar Dec 15 '21 13:12 dumblob