forked from Nexxa/cordova-base64-to-gallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
69 lines (54 loc) · 2.4 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
69
<?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="dfocus-cordova-base64-to-gallery" version="4.1.3">
<engines>
<engine name="cordova-ios" version=">=3.8.0" />
</engines>
<name>base64ToGallery</name>
<description>This plugin allows you to save base64 data as a png image into the device (iOS Photo Library, Android Gallery, WindowsPhone 8 Photo Album).</description>
<author>Tommy-Carlos Williams - [email protected]</author>
<author>Simba Zhang - [email protected]</author>
<author>StefanoMagrassi - [email protected]</author>
<keywords>base64,png,save,canvas,image,photo library</keywords>
<license>MIT</license>
<js-module name="object.assign-polyfill" src="www/object.assign-polyfill.js">
</js-module>
<js-module name="base64ToGallery" src="www/base64ToGallery.js">
<clobbers target="cordova.base64ToGallery"/>
</js-module>
<!-- ios -->
<platform name="ios">
<source-file compiler-flags="-fno-objc-arc" src="src/ios/Base64ToGallery.m"/>
<config-file parent="/*" target="config.xml">
<feature name="Base64ToGallery">
<param name="ios-package" value="Base64ToGallery"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<header-file src="src/ios/Base64ToGallery.h"/>
</platform>
<!-- android -->
<platform name="android">
<source-file src="src/android/Base64ToGallery.java" target-dir="src/it/nexxa/Base64ToGallery"/>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</config-file>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="Base64ToGallery">
<param name="android-package" value="it.nexxa.base64ToGallery.Base64ToGallery"/>
</feature>
</config-file>
</platform>
<!-- wp8 -->
<platform name="wp8">
<source-file src="src/wp8/Base64ToGallery.cs"/>
<config-file parent="/*" target="config.xml">
<feature name="Base64ToGallery">
<param name="wp-package" value="Base64ToGallery"/>
<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>