This repository has been archived by the owner on Sep 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 167
/
plugin.xml
49 lines (49 loc) · 2.23 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin id="com.darktalker.cordova.screenshot" version="0.1.6" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>com.darktalker.cordova.screenshot</name>
<description>screenshot PhoneGap Plugin for Android</description>
<license>MIT</license>
<keywords>cordova,screenshot,ecosystem:cordova,cordova-android,cordova-ios,cordova-osx</keywords>
<repo>git+https://github.com/gitawego/cordova-screenshot.git</repo>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<js-module src="www/Screenshot.js" name="screenshot">
<merges target="navigator.screenshot"/>
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Screenshot">
<param name="android-package" value="com.darktalker.cordova.screenshot.Screenshot"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</config-file>
<source-file src="src/android/Screenshot.java" target-dir="src/com/darktalker/cordova/screenshot"/>
<source-file src="src/android/PermissionHelper.java" target-dir="src/com/darktalker/cordova/screenshot"/>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Screenshot">
<param name="ios-package" value="Screenshot"/>
</feature>
</config-file>
<header-file src="src/ios/Screenshot.h"/>
<source-file src="src/ios/Screenshot.m"/>
</platform>
<!-- osx -->
<platform name="osx">
<config-file target="config.xml" parent="/*">
<feature name="Screenshot">
<param name="osx-package" value="Screenshot"/>
</feature>
</config-file>
<header-file src="src/osx/Screenshot.h"/>
<source-file src="src/osx/Screenshot.m"/>
</platform>
<issue>https://github.com/gitawego/cordova-screenshot/issues</issue>
<author>Hongbo LU</author>
</plugin>