Zoom android sdk integration in android dynamic feature module

Ah, yes this is a problem with how the zoom sdk tries to access some raw resources. Zoom SDK tries to access the resources by looking them up with the package name of the main app module. However, the resources are in the separate dynamic feature module. The only workaround I found is to extract the raw resources (around 450 KB) and copy them in the main app module like this:

  1. Unzip the mobilertc.aar file
  2. Copy the content of the mobilertc\res\raw folder into your apps raw folder (for example: app\res\raw)

This is hacky. When zoom updates their SDK, we need to make sure to repeat this copy step again. But it allows us to save space and install the rest of the zoom SDK only when it’s required.

1 Like