forked from Nexxa/cordova-base64-to-gallery
-
Notifications
You must be signed in to change notification settings - Fork 39
/
plugin.xml
68 lines (54 loc) · 2.52 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns:android="http://schemas.android.com/apk/res/android" xmlns="http://www.phonegap.com/ns/plugins/1.0" id="cordova-save-image-gallery" version="0.0.27">
<engines>
<engine name="cordova-ios" version=">=3.8.0" />
</engines>
<name>saveImageGallery</name>
<description>This plugin allows you to save base64 data as a png/jpg image into the device (iOS Photo Library, Android Gallery, WindowsPhone 8 Photo Album) compressing also the image if needed.</description>
<author>Alejandro Gomez - agommor@gmail.com</author>
<author>Tommy-Carlos Williams - tommy@devgeeks.org</author>
<author>Simba Zhang - solderzzc@gmail.com</author>
<author>StefanoMagrassi - stefano.magrassi@gmail.com</author>
<keywords>base64,png,jpg,compressionsave,canvas,image,photo library</keywords>
<license>MIT</license>
<js-module name="saveImageGallery" src="www/saveImageGallery.js">
<clobbers target="cordova.saveImageGallery"/>
</js-module>
<!-- ios -->
<platform name="ios">
<source-file compiler-flags="-fno-objc-arc" src="src/ios/SaveImageGallery.m"/>
<config-file parent="/*" target="config.xml">
<feature name="SaveImageGallery">
<param name="ios-package" value="SaveImageGallery"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<header-file src="src/ios/SaveImageGallery.h"/>
</platform>
<!-- android -->
<platform name="android">
<source-file src="src/android/SaveImageGallery.java" target-dir="src/com/agomezmoron/SaveImageGallery"/>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.DELETE_CACHE_FILES"/>
</config-file>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="SaveImageGallery">
<param name="android-package" value="com.agomezmoron.saveImageGallery.SaveImageGallery"/>
</feature>
</config-file>
</platform>
<!-- wp8 -->
<platform name="wp8">
<source-file src="src/wp8/SaveImageGallery.cs"/>
<config-file parent="/*" target="config.xml">
<feature name="SaveImageGallery">
<param name="wp-package" value="SaveImageGallery"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<config-file parent="/Deployment/App/Capabilities" target="Properties/WMAppManifest.xml">
<Capability Name="ID_CAP_MEDIALIB_PHOTO"/>
</config-file>
</platform>
</plugin>