forked from terikon/cordova-plugin-photo-library
-
Notifications
You must be signed in to change notification settings - Fork 5
/
plugin.xml
25 lines (25 loc) · 1.32 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-save-to-camera-roll" version="1.0.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>Save to camera roll</name>
<js-module src="www/SaveToCameraRoll.js" name="SaveToCameraRoll">
<clobbers target="cordova.plugins.saveToCameraRoll" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="PhotoLibrary">
<param name="ios-package" value="PhotoLibrary" />
<param name="onload" value="true" />
</feature>
</config-file>
<preference name="PHOTO_LIBRARY_USAGE_DESCRIPTION" default=" "/>
<config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
<string>$PHOTO_LIBRARY_USAGE_DESCRIPTION</string>
</config-file>
<source-file src="src/ios/PhotoLibrary.swift" />
<source-file src="src/ios/PhotoLibraryProtocol.swift" />
<source-file src="src/ios/PhotoLibraryService.swift" />
<source-file src="src/ios/PhotoLibraryGetLibraryOptions.swift" />
<dependency id="cordova-plugin-add-swift-support" version="2.0.2"/>
</platform>
<dependency id="cordova-plugin-file" version="6.0.1"/>
</plugin>