Skip to content

Commit 84ff503

Browse files
committed
Fix the iOS SDK signatures
1 parent 6d15b6a commit 84ff503

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fern/docs/pages/sdks/mobile/ios/features.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ The identification functions are asynchronous. Ensure you wrap them in a `Task`
115115
Use this property to check whether the user is identified in the current session:
116116

117117
```swift
118-
await DevRev.isUserIdentified
118+
DevRev.isUserIdentified
119119
```
120120

121121
### Logout
@@ -229,7 +229,7 @@ The support chat feature can be shown as a modal screen from a specific view con
229229
To show the support chat screen in your app, you can use the following overloaded method:
230230

231231
```swift
232-
await DevRev.showSupport(from:isAnimated:)
232+
DevRev.showSupport(from:isAnimated:)
233233
```
234234

235235
- When a `UIViewController` is passed as the `from` parameter, the screen is shown modally.
@@ -239,13 +239,13 @@ await DevRev.showSupport(from:isAnimated:)
239239
If you want to display the support chat screen from the top-most view controller, use the following method:
240240

241241
```swift
242-
await DevRev.showSupport(isAnimated:)
242+
DevRev.showSupport(isAnimated:)
243243
```
244244

245245
To create a new support conversation directly, use the following method:
246246

247247
```swift
248-
await DevRev.createSupportConversation(isAnimated:)
248+
DevRev.createSupportConversation(isAnimated:)
249249
```
250250

251251
For example:
@@ -261,7 +261,7 @@ await DevRev.showSupport(from: settingsViewController)
261261
await DevRev.showSupport(isAnimated: false)
262262

263263
// Create a new support conversation directly from the top-most view controller.
264-
await DevRev.createSupportConversation()
264+
await DevRev.createSupportConversation(isAnimated: true)
265265
```
266266
### SwiftUI
267267

0 commit comments

Comments
 (0)