@@ -115,7 +115,7 @@ The identification functions are asynchronous. Ensure you wrap them in a `Task`
115
115
Use this property to check whether the user is identified in the current session:
116
116
117
117
``` swift
118
- await DevRev.isUserIdentified
118
+ DevRev.isUserIdentified
119
119
```
120
120
121
121
### Logout
@@ -229,7 +229,7 @@ The support chat feature can be shown as a modal screen from a specific view con
229
229
To show the support chat screen in your app, you can use the following overloaded method:
230
230
231
231
``` swift
232
- await DevRev.showSupport (from:isAnimated: )
232
+ DevRev.showSupport (from:isAnimated: )
233
233
```
234
234
235
235
- When a ` UIViewController ` is passed as the ` from ` parameter, the screen is shown modally.
@@ -239,13 +239,13 @@ await DevRev.showSupport(from:isAnimated:)
239
239
If you want to display the support chat screen from the top-most view controller, use the following method:
240
240
241
241
``` swift
242
- await DevRev.showSupport (isAnimated: )
242
+ DevRev.showSupport (isAnimated: )
243
243
```
244
244
245
245
To create a new support conversation directly, use the following method:
246
246
247
247
``` swift
248
- await DevRev.createSupportConversation (isAnimated: )
248
+ DevRev.createSupportConversation (isAnimated: )
249
249
```
250
250
251
251
For example:
@@ -261,7 +261,7 @@ await DevRev.showSupport(from: settingsViewController)
261
261
await DevRev.showSupport (isAnimated : false )
262
262
263
263
// Create a new support conversation directly from the top-most view controller.
264
- await DevRev.createSupportConversation ()
264
+ await DevRev.createSupportConversation (isAnimated : true )
265
265
```
266
266
### SwiftUI
267
267
0 commit comments