Skip to content

Commit cc8ea1b

Browse files
committed
Update README.
1 parent 7fd7d28 commit cc8ea1b

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

README.md

-15
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,8 @@ ZendeskMessaging.show();
7171
The SDK needs to be initialized before using authentication methods !
7272

7373
```dart
74-
// Method 1
7574
final ZendeskLoginResponse result = await ZendeskMessaging.loginUser(jwt: "YOUR_JWT");
7675
await ZendeskMessaging.logoutUser();
77-
78-
// Method 2 if you need callbacks
79-
await ZendeskMessaging.loginUserCallbacks(jwt: "YOUR_JWT", onSuccess: (id, externalId) => ..., onFailure: () => ...);
80-
await ZendeskMessaging.logoutUserCallbacks(onSuccess: () => ..., onFailure: () => ...);
8176
```
8277
### Check authentication state (optional)
8378

@@ -125,16 +120,6 @@ Allows custom conversation tags to be set, adding contextual data about the conv
125120
// Note: This method does not affect conversation tags already applied to the conversation.
126121
```
127122

128-
### Global observer (optional)
129-
130-
If you need to catch all events you can attach a global observer to the ZendeskMessaging.
131-
132-
```dart
133-
ZendeskMessaging.setMessageHandler((type, args){
134-
print("$type => $args");
135-
});
136-
```
137-
138123
## Known shortcomings
139124
- **Attachment file**`Currently does not support.` The official said it will be launched in the future.
140125

0 commit comments

Comments
 (0)