register static method
Registers a CEP plugin with the SDK.
Call this after initialize and after the CEP SDK is ready. Decoupled from initialization deliberately — CEP SDKs initialize asynchronously and may be owned by a different team.
Registering a new plugin automatically tears down the previously registered one. Everything that plugin still had on screen is settled first, so it hands its CEP's slot back while its own bridge is still alive rather than leaving it held for the session.
Digia.register(CleverTapPlugin(instance: cleverTapInstance));
Implementation
static void register(DigiaCEPPlugin plugin) {
SDKInstance.instance.register(plugin);
}