clean Stale Versions
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")
Content copied to clipboard
Example usage (Java):
LiveUpdateManager.cleanStaleVersions(context, "appId");
Content copied to clipboard
Parameters
context
an Android Context used during the stale app cleanup operation
app Id
the ID of the registered app to clean up