forked from aflors/domina-phonegap-infotelefonoplugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
30 lines (26 loc) · 1.2 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="com.javiermoreno.infotelefonoplugin"
version="0.1.0">
<name>InfoTelefonoPlugin</name>
<description>Permite obtener una identificación única del dispositivo</description>
<license>CC</license>
<keywords>phonegap, id, imei, telephone, number, imsi</keywords>
<js-module src="www/infotelefonoplugin.js" name="infotelefonoplugin">
<clobbers target="window.telefono" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="infotelefonoplugin">
<param name="android-package"
value="com.javiermoreno.phonegap.InfoTelefonoPlugin"/>
</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/com/javiermoreno/phonegap/InfoTelefonoPlugin.java"
target-dir="src/com/javiermoreno/phonegap" />
</platform>
</plugin>