This repository was archived by the owner on Aug 22, 2022. It is now read-only.
forked from devgeeks/Canvas2ImagePlugin
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathplugin.xml
More file actions
70 lines (54 loc) · 2.59 KB
/
plugin.xml
File metadata and controls
70 lines (54 loc) · 2.59 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
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
70
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.wbt11a.Canvas2ImagePlugin"
version="0.7.1">
<name>Canvas 2 Image</name>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<description>This plugin allows you to save the contents of an HTML canvas tag to the iOS Photo Library, or Android Gallery from your app. It is modified to provide the absolute path to the sandboxed copy in iOS as opposed to adding it to the photo album. It is also modified to change the filetype and compression quality in android</description>
<author>Thomas Margreiter - thomas@margreiter.info</author>
<keywords>canvas,image,photo library</keywords>
<license>MIT</license>
<js-module src="www/Canvas2ImagePlugin.js" name="Canvas2ImagePlugin">
<clobbers target="window.canvas2ImagePlugin" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Canvas2ImagePlugin">
<param name="ios-package" value="Canvas2ImagePlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/Canvas2ImagePlugin.h" />
<source-file src="src/ios/Canvas2ImagePlugin.m"
compiler-flags="-fno-objc-arc" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Canvas2ImagePlugin" >
<param name="android-package" value="org.devgeeks.Canvas2ImagePlugin.Canvas2ImagePlugin"/>
</feature>
</config-file>
<source-file src="src/android/Canvas2ImagePlugin.java"
target-dir="src/org/devgeeks/Canvas2ImagePlugin" />
</platform>
<!-- wp8 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="Canvas2ImagePlugin">
<param name="wp-package" value="Canvas2ImagePlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_MEDIALIB_PHOTO" />
</config-file>
<source-file src="src/wp8/Canvas2ImagePlugin.cs" />
</platform>
</plugin>