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/plug-sdk/react-native.mdx
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ On iOS, if you haven't previously identified the user, the DevRev SDK will autom
33
33
</Callout>
34
34
35
35
<Calloutintent="note">
36
-
The `Identity` structure allows for custom fields in the user, organization, and account traits. These fields must be configured through the DevRev app before they can be utilized. For more information, refer to [Object customization](https://devrev.ai/docs/product/object-customization).
36
+
The `Identity` structure allows for custom fields in the user, organization, and account traits. These fields must be configured through the DevRev app before they can be used. For more information, refer to [Object customization](https://devrev.ai/docs/product/object-customization).
37
37
</Callout>
38
38
39
39
You can select from the following methods to identify users within your application:
@@ -71,7 +71,7 @@ The `userID` property cannot be updated.
71
71
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.
72
72
73
73
<Calloutintent="note">
74
-
This functionality requires the SDK to be configured and the user to be identified, whether they are unverified or anonymous.
74
+
This feature requires the SDK to be configured and the user to be identified, whether they are unverified or anonymous.
75
75
</Callout>
76
76
77
77
To show the support chat screen in your app, you can use the following method:
In some instances, links opened from the support chat are displayed within the app rather than in a browser. You can manage whether the chat modal should close after a link is opened by using the following method:
93
+
In certain cases, tapping links in the support chat opens them in the app instead of a browser. You can control whether the chat modal screen is dismissed after the link is opened by calling the following method:
The DevRev SDK offers a timer mechanism to measure the time spent on specific tasks, allowing you to track events such as response time, loading time, or any other duration-based metrics.
197
198
198
-
The mechanism utilizes balanced start and stop methods, both of which accept a timer name and an optional dictionary of properties.
199
+
The mechanism uses balanced start and stop methods, both of which accept a timer name and an optional dictionary of properties.
You can configure your app to receive push notifications from the DevRev SDK. The SDK is designed to handle push notifications and execute actions based on the notification's content.
223
+
You can configure your app to receive push notifications from the DevRev SDK. The SDK is able to handle push notifications and execute actions based on the notification's content.
223
224
224
-
The DevRev backend sends push notifications to your app to alert users about new messages in the PLuG support chat.
225
+
The DevRev backend sends push notifications to your app to notify users about new messages in the PLuG support chat.
225
226
226
227
### Configuration
227
228
@@ -230,7 +231,7 @@ To receive push notifications, you need to configure your DevRev organization by
230
231
### Register for push notifications
231
232
232
233
<Calloutintent="note">
233
-
Push notifications require SDK configuration and user identification, whether unverified or anonymous, to ensure delivery to the correct user.
234
+
To ensure delivery to the correct user, push notifications require that the SDK has been configured and the user has been identified.
234
235
</Callout>
235
236
236
237
The DevRev SDK offers a method to register your device for receiving push notifications. You can register for push notifications using the following method:
@@ -239,7 +240,7 @@ The DevRev SDK offers a method to register your device for receiving push notifi
On Android devices, the `deviceToken`should be the Firebase Cloud Messaging (FCM) token value, while on iOS devices, it should be the Apple Push Notification Service (APNS) token.
243
+
On Android devices, the `deviceToken`must be the Firebase Cloud Messaging (FCM) token value. On iOS devices, it must be the Apple Push Notification Service (APNs) token.
0 commit comments