Skip to main content
This is React Native SDK V1 (Legacy) version. For the latest version, see React Native SDK.
The Circle React Native SDK enables your mobile application to provide user-controlled wallets. By integrating this SDK, your users can securely input sensitive data like PINs or security answers. The SDK encrypts the request body using a secret key, protecting your users’ information.
Note:The Web and Mobile SDKs preserve the user keyshare with the individual, giving them complete control. You must use the SDKs with the user-controlled wallet product. Additionally, the Web and Mobile SDKs support only the user-controlled wallet product.
At Circle, we understand the importance of end-to-end security for your application and the need to create a tailored and seamless user experience for your end-users. Hence, Circle’s SDK also exposes functionality for you to customize the description and layout. See the React Native SDK UI customization API article to customize the SDK.

Install the SDK

You can set up the React Native SDK by downloading it from GitHub.

SDK architecture

You must use Web, iOS, Android or React Native SDKs to access the user-controlled Programmable Wallet product. The SDK secures, manages, and communicates with your server to ensure your user’s keyshare, always stays with them and is not exposed to your servers. To learn more, see How it works.

SDK API references

WalletSdk

implements IWallet

IWalletSdk

interface IWalletSdk

SdkVersion

interface SdkVersion

Configuration

interface Configuration

SettingsManagement

interface SettingsManagement

SecurityQuestion

class SecurityQuestion

SocialProvider

To specify a social provider to operate on. See WalletSdk.performLogin(), WalletSdk.performLogout().
JavaScript

InputType

Enumerates the types of security questions.
JavaScript

LoginResult

Interface LoginResult

OauthInfo

Interface OauthInfo

SocialUserInfo

Interface SocialUserInfo

SuccessResult

interface SuccessResult

Error

interface Error

LoginSuccessCallback

type SuccessCallback

SuccessCallback

type SuccessCallback

ErrorCallback

type ErrorCallback

ExecuteResult

interface ExecuteResult

ExecuteResultData

interface ExecuteResultData

ExecuteResultType

Enumerates the types of challenges supported
JavaScript

ExecuteResultStatus

Enumerates the possible statuses for a challenge
JavaScript

EventListener

type EventListener

ExecuteEvent

Enumerates the possible event
JavaScript

ErrorCode

Enumerates the types of error code
JavaScript

TextConfig

Data-only class for text customization.
class TextConfig

TextConfig

Data-only class for icon text list item customization.
class IconTextConfig

TextsKey

Enum for setTextConfigsMap().
See A Index Table.

IconTextsKey

Enum for setIconTextConfigsMap().
See B Index Table.

TextKey

Enum for setTextConfigMap().
See C Index Table.

ImageKey

Enum for setImageMap().
See D Index Table.

DateFormat

Enum for setDateFormat().
JavaScript

SampleCode

JavaScript
JavaScript