0

I'm currently working on a project that have a full version app with a size greater than 15mb and would like to implement instant app functionality. I know that I need to have 3 different modules (base, full version, and instant module).

  • In base module I would have class Application and shareable dependencies and code,
  • In full version module I would have all the code that full app requires (dist:instant="false" in manifest),
  • In instant module I would have the code that instant app requires (dist:instant="true" in manifest).

I've been searching online for some time now, but haven't been able to find anything that fits the bill. I'm hoping someone in this community might have some insights or resources that could help me out.

If you have any sample applications that meet these requirements, or if you have any suggestions on where I could find such applications, please let me know. Any help would be greatly appreciated.

Thanks in advance!

  • One thing you could look at is build variants - https://developer.android.com/build/build-variants. That would let you create separate modules that contain code specific to only the full app or only the instant app – Ben Jul 07 '23 at 16:43

0 Answers0