-
Notifications
You must be signed in to change notification settings - Fork 3
/
plugin.xml
47 lines (37 loc) · 1.69 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
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cordova-plugin-ios-save-video"
version="0.0.1">
<name>SaveVideo</name>
<description>This plugin allows you to save an video to the iOS Camera roll.</description>
<license>MIT</license>
<author>Anas Aboureada - [email protected]</author>
<keywords>video,photo library,camera roll,gallery</keywords>
<repo>https://github.com/anasfullstack/SaveVideo.git</repo>
<issue>https://github.com/anasfullstack/SaveVideo/issues</issue>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<dependency id="cordova-plugin-compat" version="^1.0.0" />
<js-module src="www/SaveVideo.js" name="SaveVideo">
<clobbers target="cordova.plugins.saveVideoToGallery"/>
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="SaveVideo">
<param name="ios-package" value="SaveVideo"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<header-file src="src/ios/SaveVideo.h"/>
<source-file src="src/ios/SaveVideo.m" compiler-flags="-fno-objc-arc"/>
<preference name="CAMERA_USAGE_DESCRIPTION" default=" " />
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>$CAMERA_USAGE_DESCRIPTION</string>
</config-file>
<preference name="PHOTOLIBRARY_USAGE_DESCRIPTION" default=" " />
<config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
<string>$PHOTOLIBRARY_USAGE_DESCRIPTION</string>
</config-file>
</platform>
</plugin>