Check out the newest issue of our WebRTC Metrics Report series!

Support for React Native Added to callstats.js
By: , ,
05 April 2017

Callstats.io product update: React Native integration.

Callstats.js v3.19.3 is now live with React Native support using the react-native-callstats module!

React Native is like React, but it uses native components as building blocks instead of web components. It is suitable for building apps for mobile platforms like iOS and Android. WebRTC apps can be built with React Native using, for example, the WebRTC module for React Native by Howard Yang.

Integration instructions

You can find the react-native-callstats NPM package for our React Native integration at npmjs.com/package/react-native-callstats/tutorial. Below are the instructions for integrating the react-native-callstats module:

1. Add the dependencies

require('react-native-callstats/csio-polyfill');
import callstats from 'react-native-callstats/callstats';

2. Integrate callstats.io

Use our API documentation to integrate your React Native application.

Demo app

We have updated our WebRTC demo app. It now works with React Native, and you can find the demo app with callstats.io integration in this repository
github.com/callstats-io/react-native-demoapp.

Create room in the callstats.io React Native application.
A live conference in the callstats.io React Native application.
Callstats.io demo app built with React Native.

To read more about working with WebRTC and React Native, have a look at this WebRTCHacks article by Alexey Aylarov from Voximplant. If you are interested in working with WebRTC and mobile, we are looking for a WebRTC engineer to work with our client libraries.

If you have any questions or comments regarding the React Native integration, do not hesitate to contact us via email: support[at]callstats.io.



comments powered by Disqus