Skip to content

Commit 7a25e02

Browse files
ISS-187822: Update DevRev React Native and Expo SDK dDocumentation & dependencies (#270)
* Update the requirement section as per the latest changes for React Native SDK * Fix the installation command in quick start and migration guide for Cordova SDK * Update the peer dependency requirement
1 parent 54cc711 commit 7a25e02

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

fern/docs/pages/sdks/mobile/cordova/migration-guide.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This guide and chart should help facilitate the transition from the legacy UserE
66

77
| Feature | UserExperior SDK | DevRev SDK |
88
|-|-|-|
9-
| Installation | `cordova plugin add userexperior-cordova-plugin@<version>` | `cordova plugin add devrev-cordova-plugin@<version>` |
9+
| Installation | `cordova plugin add userexperior-cordova-plugin@<version>` | `npm install @devrev/sdk-cordova` |
1010
| Initialization | `UserExperior.startRecording(appID)` | `DevRev.configure(appID, successCallback, errorCallback)` |
1111
| User Identification | `UserExperior.setUserIdentifier(userIdentifier)` | `DevRev.identifyAnonymousUser(userID, successCallback, errorCallback)`<br /> `DevRev.identifyUnverifiedUser(identity, successCallback, errorCallback)`<br /> `DevRev.updateUser(identity, successCallback, errorCallback)`<br /> `DevRev.logout(deviceID, successCallback, errorCallback)` |
1212
| Event Tracking | `UserExperior.logEvent(name)` | `DevRev.trackEvent(name, properties, successCallback, errorCallback)` |

fern/docs/pages/sdks/mobile/cordova/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This guide helps you integrate the DevRev SDK into your Cordova app.
1212
To install the DevRev SDK, run the following command:
1313

1414
```sh
15-
cordova plugin add devrev/sdk-cordova
15+
npm install @devrev/sdk-cordova
1616
```
1717

1818
## Set up the DevRev SDK

fern/docs/pages/sdks/mobile/react-native/quickstart-expo.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ DevRev SDK, used for integrating DevRev services into your Expo app.
77

88
- `expo` (any version)
99
- `react-native` (compatible with Expo version)
10-
- `@devrev/sdk-react-native` (version 1.0.2 or higher)
10+
- `@devrev/sdk-react-native` (version 2.1.0 or higher)
11+
- Minimum deployment target Android SDK 24 or iOS 15.1.
1112

1213
## Installation
1314

fern/docs/pages/sdks/mobile/react-native/quickstart.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
This guide helps you integrate the DevRev SDK into your React Native app.
44

5+
## Requirements
6+
- Minimum deployment target Android SDK 24 or iOS 15.1.
7+
58
## Installation
69

710
To install the DevRev SDK, run the following command:

0 commit comments

Comments
 (0)