-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplugin.xml
32 lines (30 loc) · 1.24 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-uptime" version="0.1.2" xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>Uptime</name>
<description>
A Cordova plugin to get the system uptime for Android and iOS platforms.
</description>
<license>MIT</license>
<js-module name="Uptime" src="www/Uptime.js">
<clobbers target="Uptime"/>
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="Uptime">
<param name="android-package" value="com.silvius.cordova.uptime.Uptime"/>
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml"></config-file>
<source-file src="src/android/Uptime.java" target-dir="src/com/silvius/cordova/Uptime"/>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Uptime">
<param name="ios-package" value="Uptime"/>
</feature>
</config-file>
<header-file src="src/ios/Uptime.h"/>
<source-file src="src/ios/Uptime.m"/>
</platform>
</plugin>