Tealium Prism React Native
    Preparing search index...

    Function getSdkVersion

    • Returns the version of the native Prism SDK linked into the app.

      iOS reads TealiumConstants.libraryVersion at runtime. Android returns BuildConfig.TEALIUM_LIBRARY_VERSION of the SDK version that the wrapper was compiled against.

      Returns Promise<string>

      A Promise that resolves with the version string. It rejects with ErrorCode.NATIVE_MODULE_NOT_REGISTERED if the native module is missing.

      const version = await getSdkVersion();