This repository has been archived by the owner on May 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
plugin.xml
70 lines (58 loc) · 2.09 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?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="cordova-plugin-screensize"
version="1.3.1">
<name>screensize</name>
<description>A cordova plugin to get the physical size of the device screen</description>
<license>MIT</license>
<keywords>cordova,screen,screensize,width,height,diameter</keywords>
<repo>https://github.com/pbakondy/cordova-plugin-screensize</repo>
<issue>https://github.com/pbakondy/cordova-plugin-screensize/issues</issue>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<js-module src="www/screensize.js" name="screensize">
<clobbers target="window.plugins.screensize" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ScreenSize">
<param name="android-package" value="com.pbakondy.ScreenSize"/>
</feature>
</config-file>
<source-file src="src/android/com/pbakondy/ScreenSize.java" target-dir="src/com/pbakondy" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ScreenSize">
<param name="ios-package" value="ScreenSize" />
</feature>
</config-file>
<header-file src="src/ios/ScreenSize.h"/>
<source-file src="src/ios/ScreenSize.m"/>
</platform>
<!-- osx -->
<platform name="osx">
<config-file target="config.xml" parent="/*">
<feature name="ScreenSize">
<param name="ios-package" value="ScreenSize" />
</feature>
</config-file>
<header-file src="src/osx/ScreenSize.h"/>
<source-file src="src/osx/ScreenSize.m"/>
</platform>
<!-- browser -->
<platform name="browser">
<config-file target="config.xml" parent="/*">
<feature name="ScreenSize">
<param name="browser-package" value="ScreenSize" />
</feature>
</config-file>
<js-module src="src/browser/ScreenSizeProxy.js" name="ScreenSizeProxy">
<runs />
</js-module>
</platform>
</plugin>