Skip to content

Commit 7a72d03

Browse files
Release 2.0.0
1 parent 5c36afe commit 7a72d03

File tree

166 files changed

+17093
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+17093
-1
lines changed

.gitignore

Lines changed: 212 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,212 @@
1+
################################
2+
# Cordova
3+
################################
4+
5+
samples/platforms
6+
samples/plugins
7+
8+
# Xcode
9+
!**/*.xcodeproj
10+
!**/*.pbxproj
11+
!**/*.xcworkspacedata
12+
!**/*.xcsettings
13+
!**/*.xcscheme
14+
*.pbxuser
15+
!default.pbxuser
16+
*.mode1v3
17+
!default.mode1v3
18+
*.mode2v3
19+
!default.mode2v3
20+
*.perspectivev3
21+
!default.perspectivev3
22+
**/xcuserdata
23+
*.xccheckout
24+
*.moved-aside
25+
DerivedData
26+
*.hmap
27+
*.ipa
28+
**/.xcuserstate
29+
project.xcworkspace
30+
**/.xcode.env.local
31+
32+
# Android Studio
33+
.project
34+
.settings
35+
.classpath
36+
37+
# Watchman
38+
.watchmanconfig
39+
40+
# Android
41+
.idea
42+
.gradle
43+
local.properties
44+
*.iml
45+
46+
# Node
47+
samples/node_modules
48+
*.log
49+
package-lock.json
50+
51+
# OS X
52+
**/.DS_Store
53+
54+
# Test generated files
55+
*.js.meta
56+
57+
/coverage
58+
/third-party
59+
60+
# Test Reports
61+
/reports
62+
63+
# Stack Dumps generated when programs crash (Ex. bash.exe.stackdump on Win)
64+
*.stackdump
65+
66+
# Root dir shouldn't have Xcode project
67+
/*.xcodeproj
68+
69+
# Visual Studio Code (config dir - if present, this merges user defined
70+
/.vscode
71+
72+
# Visual Studio
73+
.vs
74+
75+
# Android memory profiler files
76+
*.hprof
77+
78+
# Temporary files created by Metro to check the health of the file watcher
79+
.metro-health-check*
80+
81+
# CircleCI
82+
.circleci/generated_config.yml
83+
84+
# VSCode
85+
.vscode/
86+
jsconfig.json
87+
88+
# Turborepo
89+
.turbo/
90+
91+
# generated by bob
92+
lib/
93+
94+
# Node
95+
node_modules
96+
*.log
97+
.nvm
98+
package-lock.json
99+
100+
################################
101+
# iOS Development
102+
################################
103+
104+
# --------------------------------
105+
# macOS temporary files
106+
# --------------------------------
107+
.DS_Store
108+
*.lock
109+
*.swp
110+
111+
# --------------------------------
112+
# Xcode
113+
# --------------------------------
114+
!default.mode1v3
115+
!default.mode2v3
116+
!default.pbxuser
117+
!default.perspectivev3
118+
!default.xcworkspace
119+
!xcschemes
120+
!xcshareddata
121+
.build/
122+
.swiftpm/
123+
*.hmap
124+
*.ipa
125+
*.mode1v3
126+
*.mode2v3
127+
*.moved-aside
128+
*.pbxuser
129+
*.perspectivev3
130+
*.xccheckout
131+
*.xcscmblueprint
132+
*.xcuserstate
133+
*.xcworkspacedata
134+
*~.nib
135+
build/
136+
Builds/
137+
DerivedData/
138+
xcuserdata
139+
IDEWorkspaceChecks.plist
140+
141+
# --------------------------------
142+
# SwiftGen
143+
# --------------------------------
144+
*.generated.swift
145+
146+
# --------------------------------
147+
# AppCode
148+
# --------------------------------
149+
.idea/
150+
151+
# --------------------------------
152+
# Visual Studio Code
153+
# --------------------------------
154+
.vscode/
155+
156+
# --------------------------------
157+
# CocoaPods
158+
# --------------------------------
159+
!Podfile
160+
!Podfile.lock
161+
Pods/
162+
163+
# --------------------------------
164+
# Carthage
165+
# --------------------------------
166+
!Cartfile
167+
!Cartfile.private
168+
!Cartfile.resolved
169+
!Carthage/Checkouts
170+
Carthage/Build
171+
Carthage/Build.rbenv-vars
172+
173+
# --------------------------------
174+
# Fastlane
175+
# --------------------------------
176+
fastlane/Preview.html
177+
fastlane/report.xml
178+
fastlane/test_output
179+
180+
# --------------------------------
181+
# Homebrew
182+
# --------------------------------
183+
Brewfile*.lock.json
184+
185+
# --------------------------------
186+
# dotenv
187+
# --------------------------------
188+
.env
189+
.env.default
190+
191+
# --------------------------------
192+
# rbenv
193+
# --------------------------------
194+
.rbenv-vars
195+
196+
################################
197+
# Android Development
198+
################################
199+
200+
*.iml
201+
.gradle
202+
/local.properties
203+
.idea
204+
.DS_Store
205+
**/build
206+
/captures
207+
.externalNativeBuild
208+
.cxx
209+
local.properties
210+
keystore.properties
211+
devrev_android.jks
212+
credentials.properties

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [2.0.0] - 2025-06-12
8+
9+
### Changed
10+
- Improved the communication with the DevRev backend.
11+
- Improved the encryption techniques used throughout the SDK.
12+
13+
### Removed
14+
- The `getSessionURL` function has been removed.
15+
16+
## [1.0.0] - 2025-05-20
17+
18+
### Added
19+
- Introduced the Session Analytics feature. This feature allows you to monitor the health of your application and its components.
20+
- Added support for Push Notifications for the PLuG support chat.
21+
- Added support to create new conversations in the PLuG support chat.

LICENSE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
All other components of this product are provided under the following license:
2+
3+
14
Apache License
25
Version 2.0, January 2004
36
http://www.apache.org/licenses/

MIGRATION.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Migration Guide
2+
This guide and chart should help facilitate the transition from the legacy UserExperior SDK to the new DevRev SDK in your Cordova application, providing insights into feature equivalents and method changes.
3+
4+
## Feature Equivalence Chart
5+
6+
| Feature | UserExperior SDK | DevRev SDK |
7+
|-|-|-|
8+
| Installation | `cordova plugin add userexperior-cordova-plugin@<version>` | `cordova plugin add devrev-sdk-cordova@<version>` |
9+
| Initialization | `UserExperior.startRecording(appID)` | `DevRev.configure(appID, successCallback, errorCallback)` |
10+
| 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)` |
11+
| Event Tracking | `UserExperior.logEvent(name)` | `DevRev.trackEvent(name, properties, successCallback, errorCallback)` |
12+
| Session Recording | `UserExperior.stopRecording()`<br />`UserExperior.pauseRecording()`<br />`UserExperior.resumeRecording()` | `DevRev.startRecording(successCallback, errorCallback)`<br />`DevRev.stopRecording(successCallback, errorCallback)`<br />`DevRev.pauseRecording(successCallback, errorCallback)`<br />`DevRev.resumeRecording(successCallback, errorCallback)`<br />`DevRev.processAllOnDemandSessions(successCallback, errorCallback)` |
13+
| Opting-in or out | `UserExperior.optOut()`<br> `UserExperior.optIn()`<br> `UserExperior.getOptOutStatus()` | `DevRev.stopAllMonitoring(successCallback, errorCallback)`<br> `DevRev.resumeAllMonitoring(successCallback, errorCallback)` |
14+
| Session Properties | `UserExperior.setUserProperties(userProperties)` | `DevRev.addSessionProperties(properties, successCallback, errorCallback)`<br />`DevRev.clearSessionProperties()` |
15+
| Masking Sensitive Data | `<input type="text" placeholder="Enter Username" name="username" required class="ue-mask">`<br />`<input type="text" placeholder="Enter Username" name="username" required class="ue-unmask">` | `<input type="text" placeholder="Enter Username" name="username" required class="devrev-mask">`<br />`<input type="text" placeholder="Enter Username" name="username" required class="devrev-unmask">` |
16+
| Timers | `UserExperior.startTimer(timerName, properties)`<br> `UserExperior.endTimer(timerName, properties)` | `DevRev.startTimer(name, properties)`<br> `DevRev.endTimer(name, properties)` |
17+
| PLuG support chat | Not supported. | `DevRev.showSupport(successCallback, errorCallback)`<br> `DevRev.createSupportConversation(successCallback, errorCallback)`<br> `DevRev.setShouldDismissModalsOnOpenLink(value, successCallback, errorCallback)`<br> `DevRevSDK.setInAppLinkHandler(handler, successCallback, errorCallback)` |
18+
| Push Notifications | Not supported. | `DevRev.registerDeviceToken(deviceToken, deviceID, successCallback, errorCallback)`<br> `DevRev.unregisterDevice(deviceID, successCallback, errorCallback)`<br>`DevRev.processPushNotification(payload, successCallback, errorCallback)` |

0 commit comments

Comments
 (0)