-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathplugin.xml
More file actions
52 lines (39 loc) · 1.86 KB
/
plugin.xml
File metadata and controls
52 lines (39 loc) · 1.86 KB
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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="com.github.josephma93.aboutscreen" version="0.0.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>AboutScreen</name>
<description>
This plugin allows you get information related to device screen.
You shoud be able to get: Screen width, screen height, screen diagonal screen size (in inches), screen resolution PPI (also known as DPI)
Android is fully supported, iOS will be added soon.
</description>
<author>Joseph Montero</author>
<license>MIT</license>
<keywords>Screen, Android, Resolution, Diagonal, Size</keywords>
<repo>https://github.com/josephma93/about-screen.git</repo>
<issue>https://github.com/josephma93/about-screen/issues</issue>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<js-module name="AboutScreen" src="www/AboutScreen.js">
<clobbers target="window.plugins.aboutScreen" />
</js-module>
<!-- Android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="AboutScreen">
<param name="android-package" value="com.github.josephma93.aboutscreen.AboutScreen" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*"></config-file>
<source-file src="src/android/AboutScreen.java" target-dir="src/com/github/josephma93/aboutscreen" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="AboutScreen">
<param name="ios-package" value="AboutScreen" />
</feature>
</config-file>
<header-file src="src/ios/AboutScreen.h" />
<source-file src="src/ios/AboutScreen.m" />
</platform>
</plugin>