Skip to main content

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.
The package that gives access to an Extension that allows adding react native support to our client.

Functions

ReactNativeExtension method

A method that, when passed to the client instance, injects the following modules into it:

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.
When 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.
When embeddedWebView is true, the component returned at dynamicClient.reactNative.WebView becomes a no-op — do not render it. The native overlay is created lazily and retained for the process lifetime.
On platforms other than iOS / Android (e.g. web), the embeddedWebView flag is ignored and the standard react-native-webview path is used.
Embedded mode runs the same bounded-retry load engine as the standard 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.

IReactNativeExtension type

Type of the react native extension.
Last modified on July 24, 2026