Skip to content

Commit 1e81caf

Browse files
authored
Merge pull request #124 from sendbird/feature/tez/improve-session-info-desc
Added information about session token internal handling
2 parents c825ae9 + 7b37acf commit 1e81caf

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

android/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ Follow the code below to refresh and provide a new session token in the session
246246
}
247247
```
248248

249+
> When `onSuccess` is called with a token value in `onSessionTokenRequired`, the SDK automatically updates the token, so no additional handling such as `updateSessionInfo` is required.
250+
249251
### Launch the messenger
250252

251253
#### Before You Start

ios/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ extension MyViewController: SessionDelegate {
181181
}
182182
```
183183

184+
> When `successCompletion` is called with a token value in `sessionTokenDidRequire`, the SDK automatically updates the token, so no additional handling such as `updateSessionInfo` is required.
185+
184186
### Launch the messenger
185187

186188
Once the authentication information has been successfully registered, you can launch the messenger to start a conversation with the ai agent.

0 commit comments

Comments
 (0)