forked from voxeet/voxeet-uxkit-cordova
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
executable file
·185 lines (153 loc) · 9.12 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<?xml version="1.0" encoding="UTF-8"?>
<!--
VoxeetUXKit Cordova
Copyright (C) 2020
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-voxeet"
version="1.5.8">
<name>Voxeet</name>
<description>Cordova Voxeet Plugin</description>
<license>Apache 2.0 License</license>
<keywords>cordova,voxeet</keywords>
<repo>https://github.com/harrymash2006/voxeet-uxkit-cordova.git</repo>
<issue>https://github.com/harrymash2006/voxeet-uxkit-cordova/issues</issue>
<js-module src="www/VoxeetSDK.js" name="VoxeetSDK">
<clobbers target="VoxeetSDK" />
</js-module>
<js-module src="www/VoxeetMedia.js" name="VoxeetMedia">
<clobbers target="VoxeetMedia" />
</js-module>
<js-module src="www/UserInfo.js" name="UserInfo">
<clobbers target="UserInfo" />
</js-module>
<js-module src="www/AudioTrack.js" name="AudioTrack">
<clobbers target="AudioTrack" />
</js-module>
<js-module src="www/MediaStream.js" name="MediaStream">
<clobbers target="MediaStream" />
</js-module>
<js-module src="www/Participant.js" name="Participant">
<clobbers target="Participant" />
</js-module>
<js-module src="www/ParticipantInfo.js" name="ParticipantInfo">
<clobbers target="ParticipantInfo" />
</js-module>
<js-module src="www/VideoTrack.js" name="VideoTrack">
<clobbers target="VideoTrack" />
</js-module>
<js-module src="www/types/ConferenceStatus.js" name="types/ConferenceStatus">
<clobbers target="types_ConferenceStatus" />
</js-module>
<js-module src="www/types/Configurations.js" name="types/Configurations">
<clobbers target="types_Configurations" />
</js-module>
<js-module src="www/types/JoinConference.js" name="types/JoinConference">
<clobbers target="types_JoinConference" />
</js-module>
<js-module src="www/types/CreateConference.js" name="types/CreateConference">
<clobbers target="types_CreateConference" />
</js-module>
<preference name="VOXEET_CORDOVA_CONSUMER_KEY" default="null" />
<preference name="VOXEET_CORDOVA_CONSUMER_SECRET" default="null" />
<!-- android -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
<permission android:name="${applicationId}.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="${applicationId}.permission.C2D_MESSAGE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:label="Incoming Call" android:name="com.voxeet.toolkit.notification.CordovaIncomingCallActivity" android:theme="@style/Theme.AppCompat.NoActionBar"></activity>
<activity android:label="Incoming Call" android:name="com.voxeet.toolkit.notification.CordovaIncomingFromNotificationActivity" android:theme="@style/Theme.AppCompat.NoActionBar"></activity>
<meta-data
android:name="voxeet_incoming_class"
android:value="com.voxeet.toolkit.notification.CordovaIncomingCallActivity" />
</config-file>
<config-file target="res/values/strings.xml" parent="/resources">
<string name="voxeet_consumer_key">$VOXEET_CORDOVA_CONSUMER_KEY</string>
<string name="voxeet_consumer_secret">$VOXEET_CORDOVA_CONSUMER_SECRET</string>
</config-file>
<framework src="src/android/build-extras.gradle" custom="true" type="gradleReference" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Voxeet" >
<param name="android-package" value="com.voxeet.toolkit.VoxeetCordova" />
<param name="onload" value="true" />
</feature>
<feature name="VoxeetMedia" >
<param name="android-package" value="com.voxeet.toolkit.VoxeetMediaCordova" />
</feature>
</config-file>
<source-file src="src/android/com/voxeet/toolkit/VoxeetApplication.java" target-dir="src/com/voxeet/toolkit" />
<source-file src="src/android/com/voxeet/toolkit/VoxeetCordova.java" target-dir="src/com/voxeet/toolkit" />
<source-file src="src/android/com/voxeet/toolkit/VoxeetMediaCordova.java" target-dir="src/com/voxeet/toolkit" />
<source-file src="src/android/com/voxeet/toolkit/CordovaRootViewProvider.java" target-dir="src/com/voxeet/toolkit" />
<source-file src="src/android/com/voxeet/toolkit/notification/CordovaIncomingFromNotificationActivity.java" target-dir="src/com/voxeet/toolkit/notification" />
<source-file src="src/android/com/voxeet/toolkit/notification/CordovaIncomingNotification.java" target-dir="src/com/voxeet/toolkit/notification" />
<source-file src="src/android/com/voxeet/toolkit/notification/CordovaIncomingBundleChecker.java" target-dir="src/com/voxeet/toolkit/notification" />
<source-file src="src/android/com/voxeet/toolkit/notification/CordovaIncomingCallActivity.java" target-dir="src/com/voxeet/toolkit/notification" />
<source-file src="src/android/com/voxeet/toolkit/notification/RNBundleChecker.java" target-dir="src/com/voxeet/toolkit/notification" />
<source-file src="src/android/com/voxeet/toolkit/notification/CallUtils.java" target-dir="src/com/voxeet/toolkit/notification" />
<hook type="after_prepare" src="voxeet_application.js" />
</platform>
<!-- ios -->
<platform name="ios">
<hook type="before_plugin_install" src="build_ios_frameworks.js" />
<config-file target="config.xml" parent="/*">
<feature name="Voxeet">
<param name="ios-package" value="CDVVoxeet" />
<param name="onload" value="true" />
</feature>
<feature name="VoxeetMedia">
<param name="ios-package" value="CDVVoxeet" />
</feature>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>audio</string>
<string>voip</string>
</array>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="NSMicrophoneUsageDescription">
<string>Microphone permission is needed</string>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="NSCameraUsageDescription">
<string>Camera permission is needed</string>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="VOXEET_CORDOVA_CONSUMER_KEY">
<string>$VOXEET_CORDOVA_CONSUMER_KEY</string>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="VOXEET_CORDOVA_CONSUMER_SECRET">
<string>$VOXEET_CORDOVA_CONSUMER_SECRET</string>
</config-file>
<header-file src="src/ios/CDVVoxeet.h" />
<source-file src="src/ios/CDVVoxeet.m" />
<framework src="src/ios/Carthage/Build/VoxeetUXKit.xcframework" custom="true" embed="true" />
<framework src="src/ios/Carthage/Build/VoxeetSDK.xcframework" custom="true" embed="true" />
<framework src="src/ios/Carthage/Build/WebRTC.xcframework" custom="true" embed="true" />
<framework src="src/ios/Carthage/Build/Kingfisher.xcframework" custom="true" embed="true" />
<framework src="src/ios/Carthage/Build/dvclient.xcframework" custom="true" embed="true" />
</platform>
</plugin>