Has anyone used (or contributed to) opentok-react-native and react-native-opentok? Looking for some perspective on which is better maintained or a better choice for a general purpose video conferencing app.
Both seem to have been updated relatively recently (opentok-react-native just this month and react-native-opentok in April). I'm wondering if anyone worked on either and has some backstory on why they both exist and future looking plans for both... Thanks!
TokBox Developer Evangelist here.
I'm the author of the OpenTok React Native library and I continuously update it so developers can use the latest features offered by the OpenTok Mobile SDKs in React Native.
Here are some of the things that this library supports:
Publishing
Publisher Properties
Subscribing
Subscriber Properties
Signaling
Screen sharing
Events
Session Events
Publisher Events
Subscribing Events
You can also find the documentation on how to use the OpenTok React Native API here: https://github.com/opentok/opentok-react-native/tree/master/docs
OpenTok also has a React library which has a very similar API so you can use that for your web application.
Related
Can anyone recommend me libraries and APIs I can use to develop a video chat app using React Native? I would appreciate it if your suggestions doesn't require you to pay in order to fully utilize the library/api.
I've used this jitsi-meet library. It's pretty easy to use it ,and also it integrates all the webrtc module by itself and also it gives a ready made UI.For you to start instantly you can use this library, even ive launched an app both on playstore and appstore for video calling.
And if you wnat the full custom way, you can use rn-webrtc , here you have to make your own UI and manage everything.
Hope it helps. feel free for doubts
Is there any option or workaround to implement audio and video calling using comet chat pro API in react native. I have seen in the doc as it's not supported, but I wanted to know if anyone has found any workaround or solution.
I have already tried implementing the code, the call is getting connected and the users are joining successfully. Also, all the events are working fine. The only issue is sound is not audible or not working.
React Native is so popular and many developers use it and it's sad that Comet chat is not supporting it.
Can anyone help with this issue?
Is it possible to integrate React-Native with Webhooks?
Currently, I have a chatbot using React, Dialogflow and webhooks. I am intending to port over to React-Native. Hence, I like to find out if possible to use webhooks to integrate React-Native with Dialogflow?
When I google, I find tons of materials regarding React with Webhooks but none concerning React-Native with Webhooks.
In case not possible to integrate React-Native with Webhooks, how does one work around it then?
Thanks :)
Webhooks usually mean that a URL is called which triggers some kind of action on your server. In the client world you would use sockets.
So if you wish to communicate from server to client instead of vice versa you should either use sockets or native notifications, at least for iOS.
The app is only alive for a certain amount of time when not being used and then its terminated by OS on Apple products. Your socket will thus be shut down. Apple recommends to use native notifications to wake you app up in such cases.
This works espacially well for chat or voip apps.
There are a bunch of frameworks for handling push notifs here is a good tutorial: https://medium.com/ios-expert-series-or-interview-series/voip-push-notifications-using-ios-pushkit-5bc4a8f4d587
So what are your experiences with sending remote notifications to RN app from FCM?
I did some research today, tried bunch of tutorials, but most of them didn't work.
So I wanna hear your opinion, which library are you using for this and what guide did you follow?
react-native-push-notification
react-native-fcm
react-native-firebase
react-native-onesignal
I did the connection a few days ago. It is not difficult but it requires a lot of configuration as notification is a native feature. I recommend you the following library that can help you:
React Native FCM
Also take in count the following things:
For ios you need get some certificates from apple.
This guide help with the setup and android part.
Remote notification can't reach iOS emulator since it can't fetch APNS token. Use real device.
I used to react-native-fcm, but now I use react-native-firebase, it is simple to use, just follow the documentation https://rnfirebase.io/docs/v5.x.x/getting-started
just follow the installation tab guide, cloud messaging tab guide, and notification tab, also you can find js code there. for IOS part, you need some extra work to add some certificate to your developer id and add some certificate to your firebase app.
As per this link, FCM is the new version of GCM under the Firebase brand. In Codename One, which is supported? GCM or FCM?
We currently use GCM internally. We can switch to FCM but there is no real reason. Google has no intention of removing GCM as FCM (and a lot of apps) depend on it.
They are pushing FCM to push firebase. This provides no advantage to Codename One users as the easier API isnt' relevant (we abstract away the pains of GCM).
Bottom line is that you don't need to worry, if there is a need to switch to FCM we will do it for you and it will be seamless.
I'm not too familiar with Codename One so I decided to go ahead and look into their site. I found this Codename One page that guides about Push Notifications, but noticed that it's an old guide since this was still using the Developer Console when generating the Server Key (used for GCM/FCM).
With that, I went ahead and asked the Codename One chat support (lower-right side of the page). Chat history below:
Me:
Hey guys. I was wondering what Push Notification Services do you Support?
I've seen this link -- https://www.codenameone.com/how-do-i---use-push-notification-send-server-push-messages.html
Do you have your own Push Notification Service? Or are you guys using GCM? Is it already integrated with FCM too?
Lianna (Chat Support):
Hi,
we use the native push notifications for the respective platforms GCM, Firefox, Chrome, Microsoft and ipns.
Currently we use GCM and not FCM as the advantages given by FCM are mostly for API usage (which isn't applicable) and not very portable (available only for Android). When/if we switch to FCM this would be seamless thanks to our abstraction of the service.
FYI that video is a bit out of date, there is more up to date coverage in our developer guide.
Credit goes to Lianna (Kudos! :)). I think this here is the developer guide she was referring to.