forked from AlejandroOrozco/cordova-plugin-detect-screenshot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
31 lines (24 loc) · 1.07 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin id="com.lukemiles.screenshot" version="1.0.6" xmlns="http://apache.org/cordova/ns/plugins/1.0">
<name>cordova-plugin-screenshot</name>
<platform name="android">
<framework src="src/android/plugin.gradle" custom="true" type="gradleReference"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ScreenshotPlugin">
<param name="android-package" value="org.android.screenshot.ScreenshotPlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/ScreenshotPlugin.java" target-dir="src/org/android/screenshot" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="screenshot">
<param name="ios-package" value="screenshot" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/screenshot.h" />
<source-file src="src/ios/screenshot.m" />
</platform>
</plugin>