-
Notifications
You must be signed in to change notification settings - Fork 31
/
plugin.xml
41 lines (30 loc) · 1.62 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://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.vliesaputra.deviceinformation"
version="1.0.1">
<name>DeviceInformation</name>
<description>This plugin will get most of the information available through Android's Telephony Manager and Account Manager classes.</description>
<author>Veronica Liesaputra</author>
<keywords>android, telephony manager, phone number, device information, account details</keywords>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/deviceinformation.js" name="DeviceInformation">
<clobbers target="cordova.plugins.deviceInformation" />
</js-module>
<asset src="www/deviceinformation.js" target="deviceinformation.js" />
<platform name="android">
<source-file src="src/com/vliesaputra/cordova/plugins/DeviceInformation.java" target-dir="src/com/vliesaputra/cordova/plugins" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="DeviceInformation">
<param name="android-package" value="com.vliesaputra.cordova.plugins.DeviceInformation" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
</config-file>
</platform>
</plugin>