Skip to main content
This guide walks you through setting up a React Native test app using the Offline Protocol SDK.

1. Clone the Example App

First, clone the React Native test app repository:
git clone https://github.com/Offline-Protocol/id-sdk-rn-test-app.git
cd id-sdk-rn-test-app

2. Install Dependencies

Use either npm or yarn:
npm install
# or
yarn install

3. Configure iOS (if applicable)

If you are running on iOS, install CocoaPods dependencies:
cd ios
pod install
cd ..

4. Run the App

Start the Metro bundler and run the app:
npm start
# or
yarn start
In a separate terminal:
npm run android   # for Android
npm run ios       # for iOS
  1. Explore the SDK
The test app comes pre-configured with:
  • Authentication with the Offline Protocol SDK
  • Profile management
  • Connections API
I