Skip to content

Commit 22a9b60

Browse files
Release 2.1.0
1 parent 7a72d03 commit 22a9b60

File tree

34 files changed

+2514
-365
lines changed

34 files changed

+2514
-365
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.1.0] - 2025-06-27
8+
9+
### Added
10+
- iOS only: Introduced crash reporting integrated with session recordings.
11+
12+
### Changed
13+
- Improved the support widget navigaion.
14+
15+
### Fixed
16+
- Fixed an issue with timer tracking to ensure correct session properties are recorded.
17+
718
## [2.0.0] - 2025-06-12
819

920
### Changed

MIGRATION.md

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

66
| Feature | UserExperior SDK | DevRev SDK |
77
|-|-|-|
8-
| Installation | `cordova plugin add userexperior-cordova-plugin@<version>` | `cordova plugin add devrev-sdk-cordova@<version>` |
8+
| Installation | `cordova plugin add userexperior-cordova-plugin@<version>` | `cordova plugin add @devrev/sdk-cordova@<version>` |
99
| Initialization | `UserExperior.startRecording(appID)` | `DevRev.configure(appID, successCallback, errorCallback)` |
1010
| 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)` |
1111
| Event Tracking | `UserExperior.logEvent(name)` | `DevRev.trackEvent(name, properties, successCallback, errorCallback)` |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ DevRev SDK, used for integrating DevRev services into your Cordova app.
4747
To install the DevRev SDK, run the following command:
4848

4949
```sh
50-
cordova plugin add devrev-cordova-plugin
50+
cordova plugin add @devrev/sdk-cordova
5151
```
5252

5353
### Set up the DevRev SDK

devrev-sdk-cordova-2.1.0.tgz

17.1 KB
Binary file not shown.

sample/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
"platforms": []
2525
},
2626
"devDependencies": {
27-
"@devrev/sdk-cordova": "^2.0.0"
27+
"@devrev/sdk-cordova": "^2.1.0"
2828
}
2929
}

sample/platforms/ios/DevRevSDKSample.xcodeproj/project.pbxproj

100644100755
Lines changed: 25 additions & 84 deletions
Large diffs are not rendered by default.

sample/platforms/ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# DO NOT MODIFY -- auto-generated by Apache Cordova
22

3-
platform :ios, '15.0'
3+
platform :ios, '11.0'
44

55
target 'DevRevSDKSample' do
66
project 'DevRevSDKSample.xcodeproj'
7-
pod 'DevRevSDK', '~> 2.0.2'
7+
pod 'DevRevSDK', '~> 2.1.0'
88
end

sample/platforms/ios/Podfile.lock

Lines changed: 0 additions & 16 deletions
This file was deleted.

sample/platforms/ios/platform_www/plugins/devrev-cordova-plugin/www/DevRevPlugin.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,26 @@ var DevRevPlugin = {
438438

439439
crash: function(successCallback, errorCallback) {
440440
exec(successCallback, errorCallback, "DevRevPlugin", "crash", []);
441+
},
442+
443+
/**
444+
* Sets the screen transition state.
445+
*
446+
* This method should be called to indicate whether the app is currently in a screen transition.
447+
* It helps track UI navigation events and ensures that relevant actions are delayed until the transition is complete.
448+
*
449+
* @remarks
450+
* - It is the developer's responsibility to call this method at the appropriate time in the navigation flow.
451+
* - Set to true when starting a transition, and false when the transition is complete.
452+
*
453+
* @param isTransitioning - Boolean indicating whether the app is in a screen transition.
454+
* @param successCallback - A callback function to be called on success.
455+
* @param errorCallback - A callback function to be called on error.
456+
*
457+
* @category Screen Transition
458+
*/
459+
setInScreenTransitioning: function(isTransitioning, successCallback, errorCallback) {
460+
exec(successCallback, errorCallback, "DevRevPlugin", "setInScreenTransitioning", [isTransitioning]);
441461
}
442462
};
443463

sample/platforms/ios/pods.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"libraries": {
55
"DevRevSDK": {
66
"name": "DevRevSDK",
7-
"spec": "~> 2.0.2",
7+
"spec": "~> 2.1.0",
88
"count": 1
99
}
1010
}

0 commit comments

Comments
 (0)