React Native
Embed the account connection flow in your React Native app
Getting Started
You can get started with a React Native example here.
Install Dependencies
Add the SDK package to your project’s package.json
Setup the Example Code
Bare React Native Setup
Include the AnonKit pod in your PodFile
Set use_frameworks!
in your PodFile with the static linkage option
If a minimum deployment target is required, set it in your PodFile
Update pod dependencies
Update the minimum deployment target in your Xcode project
Expo Setup
Install the expo-build-properties
package
Add the following to your app.json
file
Rerun expo prebuild and build the app
Render the SDK View
Proceed to initialize the AnonKit SDK by rendering the view in your application.
Here’s an example of using the SDK view in your React Native application:
After connecting user sessions, you are ready to execute actions with user sessions!
Next Steps
Was this page helpful?