-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathplugin.xml
More file actions
44 lines (38 loc) · 1.71 KB
/
plugin.xml
File metadata and controls
44 lines (38 loc) · 1.71 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
40
41
42
43
44
<?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>
<header-file src="src/ios/GalleryAPI.h" />
<source-file src="src/ios/GalleryAPI.m" />
</platform>
</plugin>