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
In DevRev, go to **Settings** > **PLuG Chat** copy the value under **Your unique App ID**. After obtaining the credentials, you can configure the DevRev SDK in your app.
13
+
In DevRev, go to **Settings** > **PLuG Chat** copy the value under **Your unique App ID**. After obtaining the credentials, you can configure the DevRev SDK in your app.
14
14
15
15
<Calloutintent="note">
16
16
The DevRev SDK must be configured before you can use any of its features.
@@ -107,7 +107,7 @@ This feature is for Android only.
107
107
For scenarios where custom handling is needed, links from the support chat can be captured with the following method:
108
108
109
109
```typescript
110
-
DevRevSDK.setInAppLinkHandler((url) => {
110
+
DevRev.setInAppLinkHandler((url) => {
111
111
// Perform an action here.
112
112
});
113
113
```
@@ -170,7 +170,7 @@ You can add custom properties to the session recording to help you understand th
To clear the session properties in scenarios such as user logout or when the session ends, use the following method:
173
+
To clear the session properties in scenarios such as user logout or when the session ends, use the following method:
174
174
175
175
```typescript
176
176
DevRev.clearSessionProperties()
@@ -237,19 +237,19 @@ To ensure delivery to the correct user, push notifications require that the SDK
237
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:
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.
244
244
245
245
### Unregister from push notifications
246
246
247
-
If your app no longer needs to receive push notifications, you can unregister the device.
247
+
If your app no longer needs to receive push notifications, you can unregister the device.
248
248
249
249
Use the following method to unregister the device:
250
250
251
251
```typescript
252
-
DevRevSDK.unregisterDevice(deviceID: string)
252
+
DevRev.unregisterDevice(deviceID: string)
253
253
```
254
254
255
255
The method requires the device identifier, which should be the same as the one used when registering the device.
@@ -264,7 +264,7 @@ On Android, notifications are implemented as data messages to offer flexibility.
264
264
To process the notification, use the following method:
On iOS devices, you must pass the received push notification payload to the DevRev SDK for processing. The SDK will then handle the notification and execute the necessary actions.
286
+
On iOS devices, you must pass the received push notification payload to the DevRev SDK for processing. The SDK will then handle the notification and execute the necessary actions.
0 commit comments