Quickstart guide for Expo
DevRev SDK, used for integrating DevRev services into your Expo app.
Requirements
- React Native 0.79.0 or later.
- For Expo apps, Expo 50.0.0 or later.
- Android: minimum API level 24.
- iOS: minimum deployment target 15.1.
- Recommended: A locally configured SSH key registered on Github.
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.
- Configure the DevRev SDK in your app using the obtained credentials.
The DevRev SDK must be configured before you can use any of its features.
The SDK becomes ready for use once the following configuration method is executed.
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 the 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.