1

I wanted to ask about publishing android app bundle. I cannot find clear answers on a few topics related to dynamic feature modules.

  1. Is it possible to publish update for only base module but not for dynamic modules? In my case I have one large module to download and I would not like to force my users to download every time even if nothing changes. Is there any solution for that?

  2. I have my own page where I publish the apk for some people, is it possible to publish aab not from google play?

  3. Can I publish update for only certain group of user?

Thank you in advance for your help

pogo
  • 71
  • 2
  • 6

1 Answers1

2

Answering questions in order:

  1. No, you cannot publish updates for only one module, it's all or nothing. However, Google Play will optimise the size of the downloads by only sending down a patch with the difference between the version they have installed and the new version being installed. So if a module does not have any update, your users will not have to download it. Note that this patching feature is best effort and may not be applied in tracks other than the production track, so if you test in -say- a beta track, you may still see the full module being downloaded.

  2. If you have the signing key, you can generate a universal APK from the AAB using bundletool. Otherwise, you can download the universal APK signed with the signing key from the Play Console in the Bundle Explorer. This is a single APK containing all modules marked as "fused" (in the respective modules' AndroidManifest.xml), so will be easy to download and install.

  3. You can use testing tracks to update for certain users ahead of the production release. Otherwise, on the production track, you can do progressive rollouts to target a percentage of the population, but you can't choose which users will get the update.

Pierre
  • 15,865
  • 4
  • 36
  • 50
  • 1
    In case of that big feature module. It will contain big .aar native library. In that case I guess Google is not going to optimise it wery well, when new version of .aar library is the change here, because how would google do that. Is that assumption Accurate @Pierre? – Karol Żygłowicz Dec 16 '21 at 10:34
  • If there is a change in the big feature module, then yes, the change will be served to all users who have the module installed. I'm not sure I follow though: ar eyou trying to update the version of the aar in the feature module but do not want that change to be sent to your users? If so, why update it in the first place? – Pierre Dec 16 '21 at 18:09
  • The question is: will big feature module be updated automatically by gogle play or it needs to be downloaded inside app same way as installed for the first time? – Karol Żygłowicz Dec 17 '21 at 09:01
  • It will be updated automatically by Google Play – Pierre Dec 17 '21 at 14:03