forked from chariotsolutions/phonegap-nfc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
29 lines (22 loc) · 1.12 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
<?xml version="1.0" encoding="utf-8"?>
<plugin
xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.chariotsolutions.nfc.plugin"
version="0.4.3-SNAPSHOT">
<name>NFC</name>
<asset src="www/phonegap-nfc.js" target="js/phonegap-nfc.js"/>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/cordova/plugins">
<plugin name="NfcPlugin" value="com.chariotsolutions.nfc.plugin.NfcPlugin"/>
</config-file>
<source-file src="src/com/chariotsolutions/nfc/plugin/NfcPlugin.java"
target-dir="src/com/chariotsolutions/nfc/plugin"/>
<source-file src="src/com/chariotsolutions/nfc/plugin/Util.java"
target-dir="src/com/chariotsolutions/nfc/plugin"/>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.NFC"/>
<uses-feature android:name="android.hardware.nfc" android:required="false"/>
</config-file>
</platform>
</plugin>