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.
2 Replies
@Anmol Tanwar
Do you see any error log for react native sdk one?
@Pawan Jain There are no errors in the terminal, but the notifications list is returning as undefined in the native app. However, it works fine on the web using the same credentials.