-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathplugin.xml
30 lines (24 loc) · 1.18 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 id="it.weconstudio.phonegap.plugins.android.IpAddress" version="0.1" provider-name="weconstudio">
<name>IpAddress</name>
<description>IP Address detection plugin</description>
<license>Apache 2.0</license>
<author>weconstudio</author>
<keywords>weconstudio,ip,address,phonegap,plugins</keywords>
<js-module src="www/IpAddress.js" name="IpAddress">
<clobbers target="window.IpAddress" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="IpAddress" >
<param name="android-package" value="it.weconstudio.phonegap.plugins.android.IpAddress"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
</config-file >
<source-file src="src/it/weconstudio/phonegap/plugins/android/IpAddress.java" target-dir="src/it/weconstudio/phonegap/plugins/android" />
</platform>
</plugin>