Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 2.28 KB

File metadata and controls

19 lines (16 loc) · 2.28 KB

Migration guide

This guide and chart should help facilitate the transition from the legacy UserExperior SDK to the new DevRev SDK in your React Native application, providing insights into feature equivalents and method changes.

Feature equivalence chart

Feature UserExperior SDK DevRev SDK
Installation npm install react-native-userexperior npm install @devrev/sdk-react-native
Initialization UserExperior.startRecording(string) DevRev.configure(appID: string)
User Identification UserExperior.setUserIdentifier(string) DevRev.identifyAnonymousUser(userID: string)
DevRev.identifyUnverifiedUser(identity: Identity)
DevRev.updateUser(identity: Identity)
DevRev.identifyVerifiedUser(userID: string, sessionToken: string)
DevRev.logout(deviceID: string)
Event Tracking UserExperior.logEvent(string, Map<string, string>) DevRev.trackEvent(name: string, properties?: { [key: string]: string })
Session Recording UserExperior.stopRecording()
UserExperior.pauseRecording()
UserExperior.resumeRecording()
DevRev.startRecording()
DevRev.stopRecording()
DevRev.pauseRecording()
DevRev.resumeRecording()
DevRev.processAllOnDemandSessions()
Opting in/out Not supported. DevRev.stopAllMonitoring()
DevRev.resumeAllMonitoring()
Session Properties UserExperior.setUserProperties(Map<string, string>) DevRev.addSessionProperties(properties: { [key: string]: string })
DevRev.clearSessionProperties()
Masking Sensitive Data UserExperior.addInSecureViewBucket(any[])
UserExperior.removeFromSecureViewBucket(any[])
DevRev.markSensitiveViews(tags: any[])
DevRev.unmarkSensitiveViews(tags: any[])
Timers Not supported. DevRev.startTimer(name: string, properties: { [key: string]: string })
DevRev.endTimer(name: string, properties: { [key: string]: string })
Support chat Not supported. DevRev.showSupport()
DevRev.createSupportConversation()
DevRev.setShouldDismissModalsOnOpenLink()
DevRev.setInAppLinkHandler()
Push Notifications Not supported. DevRev.registerDeviceToken()
DevRev.unregisterDevice(deviceID: string)
DevRev.processPushNotification()