Braze React Native SDK - v21.0.0
    Preparing search index...

    Function initialize

    • Initializes the Braze SDK with the provided API key and endpoint.

      On first call, creates a Braze instance applying any native configuration.

      On subsequent calls, tears down the current instance and reinitializes with the same configuration, supporting mid-session API key changes.

      Parameters

      • apiKey: string

        The Braze API key.

      • endpoint: string

        The Braze SDK endpoint.

      Returns void