What's new

Use different version of a dependency within the same android app


Active member
Staff member
I am thinking of building an internal android application to test my SDK.

The SDK use the WebView which allow my clients to get updates in their apps without having to re-submit it to the Play Store.

Ideally, I would like to be able to easily swap SDK versions at runtime.

Dynamic modules is something I heard about but I am not sure if it would work for me. I could make a different module of each SDK version, which share the same interface. Then depending on the wished version, load/unload them. Is that possible? What would be the alternative? ServiceLoader?

Continue reading...