DEV Community

Daniel Yo for Knock

Posted on

Kustomer react-native library

Our goal at Knock is to make agents the superheroes to their clients and to do all we can to support them along the way. In early 2021 we struck out to simplify communications between Knockstars and agents by meeting the agents where they’re at. We wanted to provide agents real-time contact with Knockstars as well as access to our knowledge base.

With this in mind, Knock opted to integrate with Kustomer and implement their live chat feature into our web and mobile applications. Kustomer provides native web and mobile SDKs (iOS/Android) out of the box. Our mobile app is built with react-native so it wasn’t easy to consume their mobile SDKs.

Kustomer integrated under our Support section
Image description



Easy access to our FAQ (Knowledge base)
Image description

For react-native apps to consume native code (Objective-C/Swift, Java/Kotlin) we would have to bridge the native code into Javascript with the help of NativeModules. To that end, we created kustomer-react-native.

One of the new features in KustomerV2 we were interested in is their support for push notifications. This would allow agents or their customers to start a live chat with Knockstars from our mobile app and stay up to date with new messages without having to keep the app open all the time.

The initial release of this library covers the methods we need for the features described above. As we expand our usage of Kustomer, we expect to expand the coverage of this library.

Help us improve this library by submitting pull requests on the GitHub repository.

Top comments (0)