Saranshmalik / react-native-zendesk

React native wrapper for Zendesk SDK
MIT License
29 stars 42 forks source link

how use notifications #9

Closed hanaechahid closed 3 years ago

hanaechahid commented 3 years ago

Hi @Saranshmalik , it's always me ,but this time I need help to know how use notifications? do you have any process?

Saranshmalik commented 3 years ago

Well the Zendesk package has the option to register notification token onto Zendesk to recieve chat notification. To generate a notification token and to handle/display notification you would have to look out for a dedicated library. We have loads like react native push notification or the firebase library has a way for that too. So you can generate and display notifications using that library and then register the token on Zendesk with the helper function of this library.

Saranshmalik commented 3 years ago

Also you would have to do some configuration for it on Zendesk admin panel too, you can check their docs for that