-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
40 lines (33 loc) · 1.36 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
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-data-protection"
version="0.0.1">
<name>Cordova Data Protection</name>
<info>Provides ability to detect device encryption/data protection on iOS 9+ and Android.</info>
<engines>
<engine name="cordova" version=">=6.1.0"/>
</engines>
<asset src="www/dataprotection.js" target="js/dataprotection.js"/>
<js-module src="www/dataprotection.js" name="dataprotection">
<clobbers target="cordova.plugins.dataprotection" />
</js-module>
<platform name="android">
<source-file src="src/android/CDVDataProtection.java" target-dir="src/au/net/isw/cordova/dataprotection/"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CDVDataProtection">
<param name="android-package" value="au.net.isw.cordova.dataprotection.CDVDataProtection"/>
</feature>
</config-file>
</platform>
<platform name="ios">
<header-file src="src/ios/CDVDataProtection.h" />
<source-file src="src/ios/CDVDataProtection.m" />
<config-file target="config.xml" parent="/*">
<feature name="CDVDataProtection">
<param name="ios-package" value="CDVDataProtection" />
</feature>
<preference name="deployment-target" value="9.0" />
</config-file>
</platform>
</plugin>