User agent demo application that uses react-native-voximplant and Voximplant cloud platform for making/receiving audio/video calls.
You will need free Voximplant developer account setup for making and receiving calls using the SDK.
Learn more at quickstart.
-
Install React Native as described at https://facebook.github.io/react-native/docs/getting-started.html#content
-
Clone this repository
-
Run
npm install, all required components will be installed automatically- Run
pod installfromreact-native-demo/iosfolder - Start XCode and open generated
VoximplantDemo.xcworkspace
Note: To enable ios push notifications in demo project, follow the the instructions to add certificates to the Voximplant Cloud
no steps required
Note: To enable andorid push notifications in demo preoject:
- Follow the instructions to add the certificates to the Voximplant Cloud
- Add
google-services.jsonfile to android/app folder - Open
app/build.gradlefile and uncomment the//apply plugin: 'com.google.gms.google-services'line
- Run
-
It is recommended to run
react-native startcommand from root project directory. -
Run your project from XCode (
Cmd+R) for iOS, or usereact-native run-androidto run your project on Android.
The demo project uses the following third-party dependencies:
- "react-native-vector-icons" - to implement icon buttons
- "react-native-default-preference" - to store username and login tokens in default pregerences
- "react-native-fcm" - to support push notifications on android
- "react-native-notifications" - to support push notifications on iOS
- "react-native-md5" - to login with one time key
These are not the dependencies for our react native sdk, but only for demo project. Please note that we use these dependencies just to simplify our demo project and to provide the ability to try full functionality of our sdk. Integration of these dependencies to the demo project does not mean that you have to use these dependencies in your project.
Official guides: