-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
87 lines (71 loc) · 4.9 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="utf-8"?>
<plugin id="cordova-plugin-agoravoice" version="0.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>agoravoice</name>
<description>Cordova agoravoice Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,agoravoice</keywords>
<preference name="AGORAAPPID" />
<js-module name="agoravoice" src="www/agoravoice.js">
<clobbers target="agoravoice" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="Agoravoice">
<param name="android-package" value="com.realidfarm.agoravoice.Agoravoice" />
</feature>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Wechat">
<param name="android-package" value="com.realidfarm.agoravoice.Agoravoice"/>
</feature>
<preference name="AGORAAPPID" value="$AGORAAPPID"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.CAMERA" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.realidfarm.agoravoice.VoiceChatViewActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="$AGORAAPPID"/>
</intent-filter>
</activity>
<activity android:name="com.realidfarm.agoravoice.VideoChatViewActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="$AGORAAPPID"/>
</intent-filter>
</activity>
</config-file>
<framework src="com.android.support:appcompat-v7:25.3.1" />
<source-file src="src/android/java/Agoravoice.java" target-dir="src/com/realidfarm/agoravoice" />
<source-file src="src/android/java/VoiceChatViewActivity.java" target-dir="src/com/realidfarm/agoravoice" />
<source-file src="src/android/java/VideoChatViewActivity.java" target-dir="src/com/realidfarm/agoravoice" />
<source-file src="src/android/res/drawable/btn_end_call.png" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/btn_mute.png" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/btn_speaker.png" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/ic_launcher.png" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/btn_switch_camera.png" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/btn_video.png" target-dir="res/drawable" />
<source-file src="src/android/res/drawable/btn_voice.png" target-dir="res/drawable" />
<source-file src="src/android/res/layout/activity_voice_chat_view.xml" target-dir="res/layout" />
<source-file src="src/android/res/layout/activity_video_chat_view.xml" target-dir="res/layout" />
<source-file src="src/android/res/values/colorsAgora.xml" target-dir="res/values" />
<source-file src="src/android/res/values/dimensAgora.xml" target-dir="res/values" />
<source-file src="src/android/res/values/stringsAgora.xml" target-dir="res/values" />
<source-file src="src/android/res/values/stylesAgora.xml" target-dir="res/values" />
<source-file src="src/android/libs/agora-rtc-sdk.jar" target-dir="libs" />
<source-file src="src/android/libs/arm64-v8a/libagora-crypto.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/arm64-v8a/libagora-rtc-sdk-jni.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/armeabi-v7a/libagora-crypto.so" target-dir="libs/armeabi-v7a" />
<source-file src="src/android/libs/armeabi-v7a/libagora-rtc-sdk-jni.so" target-dir="libs/armeabi-v7a" />
<source-file src="src/android/libs/x86/libagora-crypto.so" target-dir="libs/x86" />
<source-file src="src/android/libs/x86/libagora-rtc-sdk-jni.so" target-dir="libs/x86" />
</platform>
</plugin>