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.
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.
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
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.