Installation
Welcome to the first step in integrating Reclaim Protocol into your React Native Expo project! This guide will walk you through the installation process and help you get started quickly.
Prerequisites
Before starting, ensure you have the following requirements installed:
- Node.js (version 16.0.0 or later)
- npm (Node Package Manager, included with Node.js) or yarn
- A working React Native Expo project
- If you haven't created one, run:
npx create-expo-app@latest my-app
- If you haven't created one, run:
Make sure your Expo project is properly configured and can run successfully before installing the SDK.
Installation
1. Install the SDK
Navigate to your React Native Expo project's root directory and execute one of the following commands:
Using npm:
Using yarn:
Using Expo CLI:
2. Expo Configuration
Since the Reclaim SDK uses native modules and deep linking, you need to configure your Expo project properly.
Update app.json/app.config.js
Add the following configuration to your app.json
or app.config.js
:
Replace your-app-scheme
, your-domain.com
, and package identifiers with your actual values.
Next Steps
Now that you've installed the SDK successfully, you can:
- Follow the Usage guide to create your first proof request
- Explore Advance Options for customization
Troubleshooting
Common issues and solutions:
Metro bundler issues
Native module issues
Keep your SDK and Expo SDK versions up to date by regularly checking for updates using npx expo install --fix
.