forked from dpa99c/phonegap-istablet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
43 lines (35 loc) · 1.33 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
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<plugin
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="uk.co.workingedge.phonegap.plugin.istablet"
version="1.0.3">
<name>Is Tablet</name>
<description>Cordova/Phonegap plugin to determine if current device is a tablet</description>
<author>Dave Alden</author>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<repo>https://github.com/dpa99c/phonegap-istablet.git</repo>
<issue>https://github.com/dpa99c/phonegap-istablet/issues</issue>
<license>MIT</license>
<keywords>cordova,phonegap,android,ios,tablet,phone,mobile,cellphone,detect,screen size,display</keywords>
<!-- Android -->
<platform name="android">
<js-module src="www/android/istablet.js" name="IsTablet">
<runs/>
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="IsTablet">
<param name="android-package" value="uk.co.workingedge.phonegap.plugin.IsTablet"/>
</feature>
</config-file>
<source-file src="src/IsTablet.java" target-dir="src/uk/co/workingedge/phonegap/plugin" />
</platform>
<!-- iOS -->
<platform name="ios">
<js-module src="www/ios/istablet.js" name="IsTablet">
<runs/>
</js-module>
</platform>
</plugin>