Open svlaev opened 7 years ago
I've just tried it, apart from manually adding some missing dependencies I can load messages and listen for updates. I see the JS library also supports push notifications via fcm. That was my main concern, but seems good.
@benoist I have more info about the pushes.
One thing to note - push notification support in the JS lib is only part done - we have methods to register for push (APN/FCM) - but the routing on receipt is still in progress. We are currently looking at that, but native pushes will not work today I believe.
So it's a matter of time for them to fix the issue
I think it should work if you have the react-native-fcm setup correctly. The push notification then gets injected into the JS code via that library. I will test this later though, trying to get a decent layout first
Is twilio-chat
a replacement for react-native-twilio-chat
?
@digitaldavenyc Did you ever get an answer to this question?
I've been developing with twilio-chat for a few months now and it works really well. Technically its not really a replacement as its developed by 2 different parties. Also this uses the native libraries from twilio, twilio-chat is JS only.
@benoist Thanks for the response, have you been using twilio-chat in a React Native app? If so did you use this package or the JS only version?
I'm using the JS only version in a react native app.
And performance is ok? I assume push notifications still work?
I'm still developing the rest of the app, so I haven't run into performance issues yet. Push notifications should work if you register the Firebase FCM token and setup Firebase notifications.
@benoist Any special things you had to do to make the JS sdk work, am getting an error which I have no idea how to overcome.
Hello,
Today I received an email from Carl Olivier (Director of Product, Realtime Data Services at Twilio). They updated their JS SDK and now it supports React Native apps. Reference
I haven't tested it yet, just wanted to let you know.