1
1
# ApiRTC P2P call sample on Ionic (Cordova/Angular)
2
2
3
3
## Installation
4
- First install Ionic:
4
+ First install Ionic:
5
5
` npm install -g @ionic/cli `
6
6
7
7
[ Follow this link to get started with Ionic] ( https://ionicframework.com/getting-started/ )
@@ -10,7 +10,7 @@ First install Ionic:
10
10
Install Xcode, see details:
11
11
https://ionicframework.com/docs/developing/ios
12
12
13
- Then run:
13
+ Then run:
14
14
` ionic cordova prepare ios `
15
15
16
16
During the execution accept installation requests.
@@ -30,9 +30,8 @@ You can test the app with our [web P2P call sample](https://dev.apirtc.com/demo/
30
30
Install Android Studio, see details:
31
31
https://ionicframework.com/docs/developing/android
32
32
33
- Then add Android platform compatible with used device Android version:
34
-
35
- eg: ` ionic cordova platform add android@9.0.0 `
33
+ Install Android platform:
34
+ ` ionic cordova platform add android `
36
35
37
36
Add required permissions to ` platforms/android/app/src/main/AndroidManifest.xml ` :
38
37
```
@@ -41,8 +40,7 @@ Add required permissions to `platforms/android/app/src/main/AndroidManifest.xml`
41
40
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
42
41
```
43
42
44
- Then compile and deploy app to the connected device:
45
-
43
+ Then compile and deploy app to the connected device:
46
44
` ionic cordova run android --device `
47
45
48
46
You can test the app with our [ web P2P call sample] ( https://dev.apirtc.com/demo/peertopeer_call/index.html )
0 commit comments