forked from songz/cordova-plugin-opentok
-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.xml
64 lines (58 loc) · 2.58 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.tokbox.cordova.opentok"
version="1.0.3">
<name>OpenTokCordovaPlugin</name>
<description>Add live video streaming to your Cordova Application</description>
<license>Apache 2.0</license>
<keywords>opentok,tokbox</keywords>
<!-- android -->
<platform name="android">
<config-file parent="/*" target="AndroidManifest.xml" mode="merge">
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
</config-file>
</platform>
<!-- ios -->
<platform name="ios">
<hook type="before_plugin_install" src="scripts/downloadiOSSDK.js" />
<asset src="www/opentok.js" target="opentok.js" />
<header-file src="src/ios/OpenTokPlugin.h" />
<source-file src="src/ios/OpenTokPlugin.m" />
<framework src="libstdc++.dylib" />
<framework src="libc++.dylib" />
<framework src="libxml2.dylib" />
<framework src="libsqlite3.dylib" />
<framework src="libpthread.dylib" />
<framework src="VideoToolbox.framework" />
<framework src="src/ios/OpenTok.framework" custom="true" />
<framework src="AudioToolbox.framework" />
<framework src="CoreData.framework" />
<framework src="AVFoundation.framework" />
<framework src="CoreGraphics.framework" />
<framework src="CoreMedia.framework" />
<framework src="CoreVideo.framework" />
<framework src="OpenGLES.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="CoreTelephony.framework" />
<framework src="GLKit.framework" />
<framework src="EventKit.framework" />
<framework src="QuartzCore.framework" />
<framework src="MapKit.framework" />
<framework src="UIKit.framework" />
<framework src="Foundation.framework" />
<framework src="Security.framework" />
<framework src="CFNetwork.framework" />
<!-- Adopts project's config.xml to include the OpenTokPlugin and domain whitelists -->
<config-file target="config.xml" parent="/*/plugins">
<feature name="OpenTokPlugin">
<param name="ios-package" value="OpenTokPlugin"/>
</feature>
</config-file>
<config-file target="config.xml" parent="/*">
<access origin="*" />
</config-file>
</platform>
</plugin>