Improved
v2.1.4
13 days ago by ReadMe GitHub Action
Added
-
Custom loading indicator. Pass
onLoad(web) oronLoadEnd(React Native) through the existingiframeProps/webViewPropsescape 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 imperativereload()handle would re-load the post-validation URL (the widget strips the token from the URL after first auth), surfacing a spuriousMissing Access Tokenerror.reload()now re-navigates the WebView to the full widget URL with token attached.
