-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathplugin.xml
34 lines (24 loc) · 980 Bytes
/
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="com.plugin.imei"
version="0.0.1">
<name>IMEI</name>
<description>IMEI plugin for Android</description>
<license>MIT</license>
<keywords>cordova,imei</keywords>
<js-module src="www/imei.js" name="IMEIPlugin">
<clobbers target="window.plugins.imei" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="IMEI">
<param name="android-package" value="com.plugin.IMEI.IMEIPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
</config-file>
<source-file src="src/android/IMEIPlugin.java" target-dir="src/com/plugin/IMEI" />
</platform>
</plugin>