Unable to connect with novu in react native sdk

In image 3, I’m using the React.js SDK to connect with Novu and render the list of notifications.

In image 2, I’m using the React Native Novu SDK provider and importing it at the top level of the app.

In image 1, I’m using the custom hook useNotifications provided by the React Native Novu SDK to fetch the list of notifications.

The setup works fine on the web, but in the native app, the notifications list is coming back as undefined.

Note: I’m using the same credentials for both the web and the app.
Screenshot_from_2024-11-25_17-33-51.png
Screenshot_from_2024-11-25_17-20-24.png
Screenshot_from_2024-11-25_17-18-54.png
Was this page helpful?