Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qsd-faris authored Mar 18, 2024
1 parent 2259d7f commit 4531794
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,23 @@ messenger?.present().show()

Note: You can create multiple Messenger instances.

### Setting user info
```
messenger?.setUserInfo(user: userObject)
```
Note: User(name, firstName, lastName, email)

### Authorize user
```
messenger?.authorizeUser(jwtToken: jwtToken)
```

### Push notifications
```
messenger?.setPushRegistrationToken(token: token)
```
Prerequisite: The application should be connected to the notifications platform, enabled for receiving notifications and obtaining tokens.

## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/deskpro/messenger-sdk-ios/tags).

0 comments on commit 4531794

Please sign in to comment.