addLiveUpdateInstance

Adds an app to the LiveUpdateManager.

Example usage (kotlin):

val liveUpdateConfig = LiveUpdate("appId", "production")
LiveUpdateManager.addLiveUpdateInstance(context, liveUpdateConfig)

Example usage (Java):

LiveUpdate liveUpdateConfig = new LiveUpdate("appId", "production");
LiveUpdateManager.addLiveUpdateInstance(context, liveUpdateConfig);

Parameters

context

an Android Context used to store app data

liveUpdate

an instance of an app LiveUpdate to register with Live Updates