-
Notifications
You must be signed in to change notification settings - Fork 21
/
plugin.xml
62 lines (62 loc) · 2.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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0" id="phonegap-plugin-media-stream" version="1.2.1">
<name>MediaStream</name>
<dependency id="es6-promise-plugin"/>
<engines>
<engine name="cordova-android" version=">=6.3.0" />
</engines>
<platform name="android">
<js-module src="www/android/MediaDevices.js" name="MediaDevices">
<clobbers target="navigator.mediaDevices"/>
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="MediaStreams">
<param name="android-package" value="com.adobe.phonegap.media.MediaStreamsPlugin"/>
</feature>
</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.CAMERA"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
</config-file>
<source-file src="src/android/MediaStreamsPlugin.java" target-dir="src/com/adobe/phonegap/media"/>
</platform>
<platform name="ios">
<js-module src="www/MediaDevices.js" name="MediaDevices">
<clobbers target="navigator.mediaDevices"/>
</js-module>
<js-module src="www/MediaStream.js" name="MediaStream">
<clobbers target="MediaStream"/>
</js-module>
<js-module src="www/MediaStreamTrack.js" name="MediaStreamTrack">
<clobbers target="MediaStreamTrack"/>
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="Stream">
<param name="ios-package" value="CDVMediaStream"/>
</feature>
</config-file>
<header-file src="src/ios/CDVMediaStream.h"/>
<header-file src="src/ios/CameraViewController.h"/>
<header-file src="src/ios/JPSCameraButton.h"/>
<header-file src="src/ios/UIImage+DrawBlock.h"/>
<source-file src="src/ios/CDVMediaStream.m"/>
<source-file src="src/ios/CameraViewController.m"/>
<source-file src="src/ios/JPSCameraButton.m"/>
<source-file src="src/ios/UIImage+DrawBlock.m"/>
<resource-file src="src/ios/CameraViewController.xib"/>
<resource-file src="src/ios/icons/flash-auto.png"/>
<resource-file src="src/ios/icons/flash-auto@2x.png"/>
<resource-file src="src/ios/icons/flash-auto@3x.png"/>
<resource-file src="src/ios/icons/flash-on.png"/>
<resource-file src="src/ios/icons/flash-on@2x.png"/>
<resource-file src="src/ios/icons/flash-on@3x.png"/>
<resource-file src="src/ios/icons/flash-off.png"/>
<resource-file src="src/ios/icons/flash-off@2x.png"/>
<resource-file src="src/ios/icons/flash-off@3x.png"/>
<resource-file src="src/ios/icons/switch-camera.png"/>
<resource-file src="src/ios/icons/switch-camera@2x.png"/>
<resource-file src="src/ios/icons/switch-camera@3x.png"/>
</platform>
</plugin>