setHostSDKInfo

fun setHostSDKInfo(platform: String, version: String)

Tags subsequent account events as originating from a wrapper SDK (e.g. frame-react-native) instead of directly from this SDK.

Internal API — not for integrator use. A wrapper SDK's own initialize() calls this once, before this SDK's initializeWithAPIKey, to override eventPlatform and attach a hostSDKVersion to every account event this SDK subsequently emits.

Parameters

platform

The wrapper's platform identifier (e.g. "react_native").

version

The wrapper SDK's own version.