This repository has been archived by the owner on May 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
plugin.xml
68 lines (54 loc) · 2.38 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-opentokjs" version="0.1.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>OpenTokPlugin</name>
<description />
<author>Ankur Oberoi</author>
<license>MIT</license>
<keywords>opentok,tokbox,video-chat,webrtc,realtime,rtc</keywords>
<info>
OpenTok lets you weave real time communications with live video, audio, and data messaging into your application.
Learn more: >https://tokbox.com/platform<
</info>
<engines>
<!-- TODO: what are the platform and the cordova engine requirements? -->
</engines>
<!-- only needed for android -->
<dependency id="cordova-plugin-crosswalk-webview" spec="^1.2.0" />
<!-- only needed for ios -->
<dependency id="cordova-plugin-iosrtc" spec="^1.3.0" />
<!-- TODO: do we need any native code for android? -->
<platform name="android">
<hook type="before_plugin_install" src="scripts/fetch-js-client.js" />
<config-file parent="/*" target="res/xml/config.xml">
<feature name="OpenTokPlugin">
<param name="android-package" value="me.aoberoi.cordova.opentokjs.OpenTokPlugin" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.CAMERA" />
</config-file>
<source-file src="src/android/OpenTokPlugin.java" target-dir="src/me/aoberoi/cordova/opentokjs/OpenTokPlugin" />
<js-module src="src/android/opentok.js" name="OpenTokClient">
<clobbers target="OT"/>
</js-module>
</platform>
<!-- TODO: do we need any native code for ios? -->
<platform name="ios">
<hook type="before_plugin_install" src="scripts/fetch-js-client.js" />
<config-file parent="/*" target="config.xml">
<feature name="OpenTokPlugin">
<param name="ios-package" value="OpenTokPlugin" />
</feature>
</config-file>
<source-file src="src/ios/OpenTokPlugin.m" />
<js-module src="src/ios/opentok.js" name="OpenTokClient">
</js-module>
</platform>
<platform name="browser">
<hook type="before_plugin_install" src="scripts/fetch-js-client.js" />
<js-module src="src/browser/opentok.js" name="OpenTokClient">
<clobbers target="OT"/>
</js-module>
</platform>
</plugin>