forked from subitolabs/cordova-gallery-api
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathplugin.xml
More file actions
39 lines (38 loc) · 1.93 KB
/
plugin.xml
File metadata and controls
39 lines (38 loc) · 1.93 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:rim="http://www.blackberry.com/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" id="com.subitolabs.android.cordova.galleryapi" version="0.2">
<name>GalleryAPI</name>
<description>Cordova gallery API plugin</description>
<license>MIT</license>
<keywords>cordova,gallery,media,api</keywords>
<repo>git@github.com:subitolabs/cordova-gallery-api.git</repo>
<issue>https://github.com/subitolabs/cordova-gallery-api/issues</issue>
<js-module src="www/gallery-api.js" name="galleryAPI">
<clobbers target="galleryAPI" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="GalleryAPI">
<param name="android-package" value="com.subitolabs.cordova.galleryapi.GalleryAPI" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
</config-file>
<source-file src="src/android/GalleryAPI.java" target-dir="src/com/subitolabs/cordova/galleryapi" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="GalleryAPI">
<param name="ios-package" value="GalleryAPI" />
</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>
<header-file src="src/ios/GalleryAPI.h" />
<source-file src="src/ios/GalleryAPI.m" />
</platform>
</plugin>