Skip to main content

You can build your own Inbox UI with Novu’s React Native hooks SDK. Novu will take care of data fetching will help you build a fully custom notification-center UI.

Note

Novu provides hooks to build a custom Inbox UI for react-native applications. Pre built Inbox component for react-native is currently not available. View our React Native Expo Template for a live example on how to use hooks exposed by @novu/react-native SDK to build your own Inbox UI.

Install the React Native hooks SDK

Add the Novu provider to your react-native file

The NovuProvider component is used to provide the Novu context to the inbox hooks. Make sure that the provider is wrapping your Inbox hook usages at the component tree.

Note

You can find the applicationIdentifier in the Novu Dashboard under the API keys page. The subscriberId is the unique identifier of the user in your application, learn more about subscribers here.

Build your own inbox UI

Trigger a notification

Now that you have the inbox component added to your application, you can trigger an Inbox notification to see it in action.