Recommended: JavaScript SDK for React Native
While this SDK is still supported, we recommend using newer JavaScript SDK, which is optimized for React Native, but also comes with a host of other benefits.
Functions
ReactNativeExtension method
reactNative module
Provides access to the webview that renders our SDK in the background of your app.
The client itself is only an interface to our SDK, so it must be rendered to your app in order for the client
to work.
Types
ReactNativeExtensionProps type
Properties which you can pass to the extension.
Embedded WebView mode
Available from v4.82.0.
embeddedWebView is set to true, the SDK renders its webview-controller inside a
dedicated native overlay (WKWebView on iOS, android.webkit.WebView on Android) owned by a
separate UI window outside the React Native view tree.
This isolates the webview from RN re-renders, navigation transitions, and other lifecycle
events that can otherwise tear the webview down — which is useful for apps with complex
navigation stacks where the wallet session needs to survive aggressive remounts.
On platforms other than iOS / Android (e.g. web), the
embeddedWebView flag is ignored
and the standard react-native-webview path is used.react-native-webview
path, so transient failures are retried automatically and you can observe progress and trigger
a manual retry through the same API — see
Tuning and monitoring the WebView load.
Once every attempt is exhausted, the failure surfaces as core.initialization.error with
WebViewFailedToLoadError — treat the SDK as un-initialised and react accordingly.