Prerequisites
Learn about the requirements and setup needed before integrating the Okto SDK into your React Native app.
Setup Requirements
-
React Native Environment
- Node.js (version 14 or higher)
- npm or yarn package manager
- For Android development:
- Android Studio
- Android SDK
- JDK 11 or newer
- For iOS development:
- Xcode
- CocoaPods
- For a complete list of dependencies, check our
package.json
-
Okto Dashboard Setup
- Create an account on the Okto Dashboard
- Obtain your API Key
- Configure your desired chains and tokens
- Enable sponsorship if needed (required for Solana, optional for other chains)
-
Authentication Methods
The Okto SDK supports multiple authentication methods:
i. Google Client IDs
- To authenticate users via Google, you'll need to set up a Google Console Project.
- Follow our guide to set up your Google Console Project.
- The required Client IDs depend on your target platforms:
Target Platform Required Client IDs Android only - Android Client ID
- Web Client IDiOS only - iOS Client ID Both Android and iOS - Android Client ID
- iOS Client ID
- Web Client ID
Additional authentication methods like Email OTP and Phone OTP will be available soon.
Environment Configuration
Your project will use the Sandbox environment by default. For production deployment, please refer to our Developer Dashboard documentation for upgrade instructions.
Next Steps
Once you've completed these prerequisites, proceed to the Quickstart Guide to integrate the Okto SDK into your React Native project.
Need help? Check our troubleshooting guide or reach out to our support team at [email protected]
.