verifyUpdate

fun verifyUpdate(context: Context, appId: String, updatePath: File): Boolean

Deprecated

No longer supported

Replace with

sync

Verify a downloaded Live Update if it is configured to use Secure Live Updates.

Example usage (kotlin):

val verified = LiveUpdateManager.verifyUpdate(context, "appId", liveUpdateFiles)

Example usage (Java):

boolean verified = LiveUpdateManager.verifyUpdate(context, "appId", liveUpdateFiles);

Return

true if the app is verified or the app is not setup for Secure Live Updates, false if not setup for Live Updates or cannot be verified

Parameters

context

an Android Context used during the verification process

appId

the ID of the app to verify

updatePath

the path of the downloaded and extracted Live Update