Rovenue React Native SDK
    Preparing search index...

    Function serializeEnvelope

    • Serialise an EventEnvelope to a compact JSON string.

      • Strips undefined at the top level.
      • Strips undefined inside identityContext (if present).
      • Omits identityContext entirely when all its fields are undefined or when it was not supplied.

      Parameters

      Returns string