This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathplugin.xml
executable file
·49 lines (45 loc) · 2.1 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- TODO comments, header -->
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="io.cozy.plugins.listlibraryitems" version="1.0.0">
<name>Library Items List Plugin</name>
<description>
List and Upload phone's library items (pics, videos...)
</description>
<license>AGPL v3</license>
<keywords>cordova, plugin, library, android, ios</keywords>
<repo>https://github.com/maestun/cordova-plugin-list-library-items.git</repo>
<issue>https://github.com/maestun/cordova-plugin-list-library-items.git/issues</issue>
<js-module src="www/ListLibraryItems.js" name="ListLibraryItems">
<clobbers target="cordova.plugins.listLibraryItems" />
</js-module>
<!-- iOS -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ListLibraryItems">
<param name="ios-package" value="ListLibraryItems"/>
</feature>
</config-file>
<preference name="PHOTO_LIBRARY_USAGE_DESCRIPTION" default=" "/>
<config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
<string>This app requires access to the photo library.</string>
</config-file>
<header-file src="src/ios/ListLibraryItems.h"/>
<source-file src="src/ios/ListLibraryItems.m"/>
<header-file src="src/ios/NSData+MD5.h"/>
<source-file src="src/ios/NSData+MD5.m"/>
<header-file src="src/ios/NSFileManager+MD5.h"/>
<source-file src="src/ios/NSFileManager+MD5.m"/>
<header-file src="src/ios/NSFileManager+Size.h"/>
<source-file src="src/ios/NSFileManager+Size.m"/>
</platform>
<!-- Android -->
<platform name="android">
<framework src="com.squareup.okhttp3:okhttp:3.11.0" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ListLibraryItems">
<param name="android-package" value="io.cozy.plugins.listlibraryitems.ListLibraryItems"/>
</feature>
</config-file>
<source-file src="src/android/io/cozy/plugins/listlibraryitems/ListLibraryItems.java" target-dir="src/io/cozy/plugins/listlibraryitems/"/>
</platform>
</plugin>