N
Novu11mo ago
San

Can I use novu for react-native?

Is there a similar component like notification-center in react for react-native? If not would I able to use novu in react-native application?
12 Replies
Zac Clifton
Zac Clifton11mo ago
Currently I am not aware that we have a notification-center for react-native however it is something we have considered supporting. You can use Novu for the backend of your react-native app but you will need to build the notification-center yourself.
San
SanOP11mo ago
So, can I use pure socket client in the react-native app to connect to novu socket server using web sockets? And use it like this socket.on("notification_received")?
Pawan Jain
Pawan Jain11mo ago
Yes @San you are right You can use it like this
San
SanOP11mo ago
May I know the web socket url of novu server (cloud) So that I can connect directly using socket client in the react native app I can see this url in network tab wss://ws.novu.co/socket.io/EIO=4&transport=websocket So, can I use the above url to connect directly to novu web socket server using socket client?
Pawan Jain
Pawan Jain11mo ago
@San Yes above URL is correct. You can use this websocket URL to connect with ws service. Feel free to ping me if you face any issue
San
SanOP11mo ago
What kind of events that I can listen on @Pawan Jain ? If I use direct web socket url of novu?
Pawan Jain
Pawan Jain11mo ago
No description
San
SanOP11mo ago
Got it thanks
Pawan Jain
Pawan Jain11mo ago
@San Are you able to use our WS url in socket client and build custom in-app notiifcation center in react native?
San
SanOP11mo ago
Not yet We might wait until novu comes up with built in component for react native If requirement is urgent from our side then I might start using WS url and implement my custom in app notification center in react native Will let you know if I start with custom implementation @Pawan Jain
Pawan Jain
Pawan Jain11mo ago
Sure @San ✅
Want results from more Discord servers?
Add your server