You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/docs/pages/sdks/mobile/cordova/features.mdx
+27-5Lines changed: 27 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ You can select from the following methods to identify users within your applicat
21
21
The anonymous identification method allows you to create an anonymous user with an optional user identifier, ensuring that no other data is stored or associated with the user.
The user is logged out by clearing their credentials, as well as unregistering the device from receiving push notifications, and stopping the session recording.
116
+
115
117
### Identity model
116
118
117
119
The `Identity` interface is used to provide user, organization, and account information when identifying users or updating their details. This class is used primarily with the `identifyUnverifiedUser` and `updateUser` methods.
@@ -184,8 +186,6 @@ All properties in `AccountTraits` are optional.
184
186
|`tier`|`string OR null`| The account's tier or plan level |
185
187
|`customFields`|`{ [key: string]: any }`| Dictionary of custom fields configured in DevRev |
186
188
187
-
The user is logged out by clearing their credentials, as well as unregistering the device from receiving push notifications, and stopping the session recording.
188
-
189
189
## PLuG support chat
190
190
191
191
Once user identification is complete, you can start using the chat (conversations) dialog supported by our DevRev SDK. The support chat feature can be shown as a modal screen from the top-most screen.
@@ -262,6 +262,7 @@ The session recording feature includes the following methods to control the reco
262
262
|`DevRev.stopRecording(successCallback, errorCallback)`| Ends the session recording and uploads it to the portal. |
263
263
|`DevRev.pauseRecording(successCallback, errorCallback)`| Pauses the ongoing session recording. |
264
264
|`DevRev.resumeRecording(successCallback, errorCallback)`| Resumes a paused session recording. |
265
+
|`DevRev.processAllOnDemandSessions(successCallback, errorCallback)`| Manually triggers processing of all on-demand sessions. |
The DevRev SDK offers automatic screen tracking to help you understand how users navigate through your app. Although view controllers are automatically tracked, you can manually track screens using the following method:
The DevRev SDK allows tracking of screen transitions to understand the user navigation within your app.
326
+
You can manually update the state using the following methods:
327
+
328
+
```javascript
329
+
// Mark the transition as started.
330
+
DevRev.setInScreenTransitioning(true)
331
+
332
+
// Mark the transition as ended.
333
+
DevRev.setInScreenTransitioning(false)
334
+
```
335
+
336
+
## Dynamic theme configuration
337
+
338
+
The DevRev SDK allows you to configure the theme dynamically based on the system appearance, or use the theme configured on the DevRev portal. By default, the theme will be dynamic and follow the system appearance.
0 commit comments