getLatestAppDirectory

Get the latest directory for the updated app resources, if available. If the app has not been updated through Live Updates, null will be returned.

Example usage (kotlin):

val latestAppDirectory = LiveUpdateManager.getLatestAppDirectory(context, "appId")

Example usage (Java):

File latestAppDirectory = LiveUpdateManager.getLatestAppDirectory(context, "appId");

Return

directory file if available, otherwise null

Parameters

context

an Android Context used to get the latest app directory

appId

the ID of the app directory to retrieve