Knock React Native SDK

Learn more about integrating Knock into your React Native applications through our React Native SDKs.

Our @knocklabs/react-native library lets you create in-app notification experiences in React Native powered applications using Knock's client APIs.

💡
Using Expo? See our Expo SDK. Our React Native SDK is meant for use with React Native apps that are not built with a framework such as Expo.

The React Native library is built on top of the @knocklabs/client JS SDK and includes that library as an implicit dependency. Internally, our React Native SDK is tested with React Native v0.73.4, but it should work with all recent versions of React Native. If you encounter issues with React Native compatibility, please reach out to our support team.

Quick links:

Using the React Native SDK it's possible to build:

  • Notification feeds that update in real time
  • Notification preference control centers
  • Push notification management

Example app

You can find a basic example application that uses the React Native SDK here. The app shows patterns for handling push token registration, building an in-app feed, and managing user notification preferences.

Need help?

Our React Native SDK is worked on full-time by the Knock JavaScript team.

Join the community

Ask questions and find answers on the following platforms:

Provide feedback

  • Open an issue
  • Use the "Help" dropdown at the top of this page to contact support.

Contributing

All contributors are welcome, from casual to regular. Feel free to open a pull request.