Improved

v2.1.4

Added

  • Custom loading indicator. Pass onLoad (web) or onLoadEnd (React Native) through the existing iframeProps / webViewProps escape hatches to render your own loader. The SDK's built-in overlay is suppressed automatically whenever you provide one. See React Web SDK and React Native SDK.

    // React Web
    <WidgetSDK
      accessToken={token}
      iframeProps={{ onLoad: () => setIsLoading(false) }}
    />
    
    // React Native
    <WidgetSDK
      accessToken={token}
      webViewProps={{ onLoadEnd: () => setIsLoading(false) }}
    />

Fixed

  • reload() "Missing Access Token" (React Native). Calling the imperative reload() handle would re-load the post-validation URL (the widget strips the token from the URL after first auth), surfacing a spurious Missing Access Token error. reload() now re-navigates the WebView to the full widget URL with token attached.