Before using the react-native plugin, please review and accept the Dolby Software License Agreement.
Clone the current repository into your local environment, then :
npm install
-
Open the Xcode workspace ios/testappvoxeet.xcworkspace
-
Go to the target settings -> 'Signing & Capabilities' -> '+ Capability' -> 'Background Modes'
- Turn on 'Audio, AirPlay and Picture in Picture'
- Turn on 'Voice over IP'
Check should be already checked
If you want to support CallKit (receiving incoming call when application is killed) with VoIP push notification, enable 'Push Notifications' (you will need to upload your VoIP push certificate to the Dolby.io Dashboard).
-
Open a terminal and use the script
bash ./pod.sh
Create a Firebase project
- navigate to
https://console.firebase.google.com/
- create a new project
- Then configure the environment depending on the platform you want to use (if iOS and Android are required, use the same project)
Add the android app declaration
- create your own package name, change
com.testappvoxeet
toyour.own.package
in theandroid/app/build.gradle
file - from the dashboard, add a new Android app
- set the package you previously set in the build.gradle file
- download the
google-services.json
file and put it intoandroid/app/
Configure dolby.io portal
- from the Firebase's project, navigate to the configuration,
- in the
Cloud Messaging
tab, copy theserver key
and paste it inside your dolby.io project IAPi configuration page from Dolby.io's dashboard
To receive invitation, always set your externalId when logging in the app, it's the identifier used to invite people and receive invitations