cleanStaleVersions

Clean up any stale app versions. Stale versions are any app snapshot files built for previous versions of the app binary and not currently used by any app channel.

Example usage (kotlin):

LiveUpdateManager.cleanStaleVersions(context, "appId")

Example usage (Java):

LiveUpdateManager.cleanStaleVersions(context, "appId");

Parameters

context

an Android Context used during the stale app cleanup operation

appId

the ID of the registered app to clean up