Quickstart guide for Expo
DevRev SDK, used for integrating DevRev services into your Expo app.
Requirements
expo
(any version)react-native
(compatible with Expo version)@devrev/sdk-react-native
(version 2.1.0 or higher)- Minimum deployment target Android SDK 24 or iOS 15.1.
Installation
- To install the DevRev SDK, run the following command:
- Configure the Expo config plugin in your
app.json
orapp.config.js
: - Rebuild your app:
Set up the DevRev SDK
- Open the DevRev web app at https://app.devrev.ai and go to the Settings page.
- Under PLuG settings copy the value under Your unique App ID.
- After obtaining the credentials, you can configure the DevRev SDK in your app.
The SDK will be ready for use once you execute the following configuration method.
Sample app
A sample app with use cases for the DevRev Expo plugin has been provided as a part of our public repository. To set up and run the sample app:
-
Go to sample directory:
-
Install dependencies:
-
Run clean and prebuild:
-
Run the app On Android:
OR open
android
in Android Studio and run the app. -
Run the app On iOS:
OR open
ios/DevRevSDKSample.xcworkspace
in Xcode and run the app.