First install Ionic:
npm install -g @ionic/cli
Follow this link to get started with ionic
Install Xcode, see details: https://ionicframework.com/docs/developing/ios
Then run:
ionic cordova prepare ios
During the execution accept installation requests.
Then run *.xcworkspace Xcode project from platforms/ios
folder.
Setup certificates inside Xcode -> Signing & Capabilities project section.
Then build from Xcode.
You can test the app with our web P2P call sample
Install Android Studio, see details: https://ionicframework.com/docs/developing/android
Then add Android platform compatible with used device Android version:
eg: ionic cordova platform add android@9.0.0
Add required permissions to platforms/android/app/src/main/AndroidManifest.xml
:
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
Then compile and deploy app to the connected device:
ionic cordova run android --device
You can test the app with our web P2P call sample
- Ionic 5+
- iOS:
cordova-ios
5.1.1+ - iOS:
cordova-plugin-iosrtc
6.0.11 version temporary fixed due to degradations of its components (details). Better check yourpackage.json
before rebuilding actions to verify you had this fixed version. - iOS: Xcode 11.5+
- iOS: iOS 13.5+
The app may work on lower iOS versions, but don't report issues.
- Android: app tested on Android 10 API 29 + cordova 9.0.0. It should work on lower versions, just be sure that your stack (Android version,
cordova-android
verision etc) has API compatible parts
For this demo we use myDemoApiKey
api key. Please register on our website to get your private api key.