Skip to content

Commit 772cea8

Browse files
author
Igor Khomenko
committed
fixed audio issues on Cordova Android samples
1 parent 7995569 commit 772cea8

File tree

45 files changed

+346
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+346
-72
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ npm-debug.log
1818
**/build
1919

2020
*.xcarchive
21+
22+
# Android
23+
.gradle
24+
.idea

samples/cordova/video_chat/config.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<widget id="com.quickblox.cordova.video_chat" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
2+
<widget id="com.quickblox.cordova.video_chat" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
33
<name>QB Video Chat</name>
44
<description>
55
QuickBlox Apache Cordova simple code sample for Web Video (WebRTC) Chat (via QuickBlox SDK + API)
@@ -18,6 +18,14 @@
1818
<allow-intent href="geo:*" />
1919
<platform name="android">
2020
<allow-intent href="market:*" />
21+
<preference name="android-minSdkVersion" value="21" />
22+
<preference name="android-targetSdkVersion" value="21" />
23+
<config-file parent="/*" target="AndroidManifest.xml">
24+
<uses-permission android:name="android.permission.RECORD_AUDIO" />
25+
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
26+
<uses-permission android:name="android.permission.CAMERA" />
27+
<uses-feature android:name="android.hardware.camera" />
28+
</config-file>
2129
</platform>
2230
<platform name="ios">
2331
<allow-intent href="itms:*" />
@@ -33,8 +41,8 @@
3341
<plugin name="cordova-plugin-iosrtc" spec="~3.1.0" />
3442
<plugin name="cordova-plugin-console" spec="~1.0.4" />
3543
<engine name="ios" spec="~4.3.0" />
36-
<engine name="android" spec="~6.0.0" />
3744
<engine name="browser" spec="~4.1.0" />
3845
<plugin name="cordova-custom-config" spec="~3.0.14" />
3946
<plugin name="cordova-plugin-device" spec="~1.1.3" />
47+
<engine name="android" spec="~6.1.1" />
4048
</widget>

samples/cordova/video_chat/platforms/android/.gradle/2.14.1/taskArtifacts/cache.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)