forked from cordova-rtc/cordova-plugin-iosrtc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
98 lines (83 loc) · 3.8 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-iosrtc"
version="6.0.18">
<name>iosrtc</name>
<description>Cordova iOS plugin exposing the full WebRTC W3C JavaScript APIs</description>
<author>eFace2Face, Inc. and BasqueVoIPMafia and Cordova-RTC</author>
<license>MIT</license>
<keywords>webrtc, ios</keywords>
<info>
cordova-plugin-iosrtc enables use of the JavaScript WebRTC APIs (as defined by the W3C) in iOS devices.
Learn more at https://github.com/cordova-rtc/cordova-plugin-iosrtc
</info>
<engines>
<engine name="cordova-ios" version=">=4.5.1" />
</engines>
<platform name="ios">
<hook type="after_prepare" src="extra/hooks/iosrtc-swift-support.js" />
<config-file target="config.xml" parent="/*">
<feature name="iosrtcPlugin">
<param name="ios-package" value="iosrtcPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<preference name="MANUAL_INIT_AUDIO_DEVICE" default="FALSE"/>
<config-file target="*-Info.plist" parent="ManualInitAudioDevice">
<string>$MANUAL_INIT_AUDIO_DEVICE</string>
</config-file>
<!-- Permission notes -->
<config-file parent="NSCameraUsageDescription" target="*-Info.plist">
<string>This Application uses your camera to make video calls.</string>
</config-file>
<config-file parent="NSContactsUsageDescription" target="*-Info.plist">
<string>This Application needs access to your contacts in order to be able to call them.</string>
</config-file>
<config-file parent="NSMicrophoneUsageDescription" target="*-Info.plist">
<string>This Application uses your microphone to make calls.</string>
</config-file>
<config-file parent="NSBluetoothAlwaysUsageDescription" target="*-Info.plist">
<string>This Application uses your wireless headphones and microphone to make calls.</string>
</config-file>
<js-module src="www/cordova-plugin-iosrtc.js" name="Plugin">
<clobbers target="cordova.plugins.iosrtc" />
</js-module>
<!-- Bridging header for using ObjetiveC libraries in Swift -->
<header-file src="src/cordova-plugin-iosrtc-Bridging-Header.h" />
<!-- Project source files -->
<source-file src="src/iosrtcPlugin.swift" />
<source-file src="src/PluginRTCTypes.swift" />
<source-file src="src/PluginRTCPeerConnection.swift" />
<source-file src="src/PluginRTCPeerConnectionConfig.swift" />
<source-file src="src/PluginRTCPeerConnectionConstraints.swift" />
<source-file src="src/PluginRTCDataChannel.swift" />
<source-file src="src/PluginRTCDTMFSender.swift" />
<source-file src="src/PluginMediaStream.swift" />
<source-file src="src/PluginMediaStreamTrack.swift" />
<source-file src="src/PluginGetUserMedia.swift" />
<source-file src="src/PluginEnumerateDevices.swift" />
<source-file src="src/PluginUtils.swift" />
<source-file src="src/PluginMediaStreamRenderer.swift" />
<source-file src="src/PluginRTCAudioController.swift" />
<source-file src="src/PluginRTCVideoCaptureController.swift" />
<!-- iOS shared dependencies -->
<framework src="AVFoundation.framework" />
<framework src="CoreGraphics.framework" />
<framework src="CoreMedia.framework" />
<framework src="GLKit.framework" />
<framework src="OpenGLES.framework" />
<framework src="CoreVideo.framework" />
<framework src="CoreAudio.framework" />
<framework src="QuartzCore.framework" />
<framework src="AssetsLibrary.framework" />
<framework src="MobileCoreServices.framework" />
<framework src="CoreLocation.framework" />
<framework src="AudioToolbox.framework" />
<framework src="libc++.dylib" />
<framework src="libstdc++.dylib" />
<framework src="libsqlite3.0.dylib" />
<framework src="VideoToolbox.framework" />
<!-- WebRTC library -->
<framework src="lib/WebRTC.xcframework" custom="true" embed="true" />
</platform>
</plugin>