cleanVersions

Clean up all unused/old app versions.

Example usage (kotlin):

LiveUpdateManager.cleanVersions(context)

Example usage (Java):

LiveUpdateManager.cleanVersions(context);

Parameters

context

an Android Context used during the app version cleanup operation


fun cleanVersions(context: Context, appId: String)

Clean up unused/old app versions related to a specific app.

Example usage (kotlin):

LiveUpdateManager.cleanVersions(context, "appId")

Example usage (Java):

LiveUpdateManager.cleanVersions(context, "appId");

Parameters

context

an Android Context used during the app version cleanup operation

appId

the ID of the app to clean