Skip to main content

Quick Start

Requirements

react-native 0.60+

Installation

Install

npm install @unipasswallet/react-native-sdk

On iOS, use CocoaPods to add the native RNAsyncStorage to your project:

cd ios
npx pod-install

Android

Open your app's AndroidManifest.xml file and add UniPassActivity activity in your application, add deep link intent filter to UniPassActivity activity. You can refer to the android developer documents

<activity
android:name="com.unipass.core.UniPassActivity"
android:exported="true"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- Replace { scheme/host/path } with YOUR_APP_PACKAGE_NAME -->
<data
android:scheme="{scheme}"
android:host="{host}"
android:pathPattern="/*"
android:pathPrefix="/{path}" />
</intent-filter>
</activity>

Then you can use UniPassSDK in your project:

import UniPassWallet from '@unipasswallet/react-native-sdk'

History Version

VersionLast updatedUniPass Wallet Entry URLUPgrade Instruction
v0.2.02023.03.06https://testnet.wallet.unipass.id/Add Connect / Transfer / Sign Message / Logout support