add Live Update Instance
Adds an app to the LiveUpdateManager.
Example usage (kotlin):
val liveUpdateConfig = LiveUpdate("appId", "production")
LiveUpdateManager.addLiveUpdateInstance(context, liveUpdateConfig)
Content copied to clipboard
Example usage (Java):
LiveUpdate liveUpdateConfig = new LiveUpdate("appId", "production");
LiveUpdateManager.addLiveUpdateInstance(context, liveUpdateConfig);
Content copied to clipboard
Parameters
context
an Android Context used to store app data
live Update
an instance of an app LiveUpdate to register with Live Updates