get Latest App Directory
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")
Content copied to clipboard
Example usage (Java):
File latestAppDirectory = LiveUpdateManager.getLatestAppDirectory(context, "appId");
Content copied to clipboard
Return
directory file if available, otherwise null
Parameters
context
an Android Context used to get the latest app directory
app Id
the ID of the app directory to retrieve