2013-08-10 14:21:21 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
|
2023-06-29 02:17:18 -06:00
|
|
|
id="@netsyms/cordova-plugin-powermanagement"
|
2023-06-29 02:46:09 -06:00
|
|
|
version="1.1.3">
|
2013-08-10 14:21:21 +02:00
|
|
|
<name>PowerManagement</name>
|
|
|
|
<description>PowerManagement plugin for Cordova</description>
|
2013-11-25 18:19:01 +01:00
|
|
|
<license>Apache 2.0</license>
|
2013-08-10 14:21:21 +02:00
|
|
|
<keywords>cordova,powermanagement</keywords>
|
|
|
|
|
|
|
|
<js-module src="www/powermanagement.js" name="device">
|
2013-08-10 14:30:07 +02:00
|
|
|
<clobbers target="window.powerManagement" />
|
2013-08-10 14:21:21 +02:00
|
|
|
</js-module>
|
|
|
|
|
|
|
|
<!-- wp7 -->
|
|
|
|
<platform name="wp7">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="PowerManagement">
|
|
|
|
<param name="wp-package" value="PowerManagement"/>
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
|
|
|
|
<source-file src="src/wp/PowerManagement.cs" />
|
|
|
|
</platform>
|
|
|
|
|
|
|
|
<!-- wp8 -->
|
|
|
|
<platform name="wp8">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="PowerManagement">
|
|
|
|
<param name="wp-package" value="PowerManagement"/>
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
|
|
|
|
<source-file src="src/wp/PowerManagement.cs" />
|
|
|
|
</platform>
|
2013-10-21 18:31:22 +02:00
|
|
|
|
|
|
|
<!-- ios -->
|
2015-04-06 11:24:07 +01:00
|
|
|
<platform name="ios">
|
2013-10-21 18:31:22 +02:00
|
|
|
<config-file target="config.xml" parent="/widget">
|
|
|
|
<feature name="PowerManagement">
|
2015-04-06 11:24:07 +01:00
|
|
|
<param name="ios-package" value="PowerManagement" />
|
2013-10-21 18:31:22 +02:00
|
|
|
</feature>
|
|
|
|
</config-file>
|
2015-04-06 11:24:07 +01:00
|
|
|
|
2013-10-21 18:31:22 +02:00
|
|
|
<header-file src="src/ios/PowerManagement.h" />
|
2015-04-06 11:24:07 +01:00
|
|
|
<source-file src="src/ios/PowerManagement.m" />
|
2013-10-21 18:31:22 +02:00
|
|
|
</platform>
|
2015-04-06 11:24:07 +01:00
|
|
|
|
2013-11-25 17:59:35 +01:00
|
|
|
<!-- android -->
|
|
|
|
<platform name="android">
|
|
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
|
|
<feature name="PowerManagement" >
|
2014-01-19 20:04:00 +01:00
|
|
|
<param name="android-package" value="org.apache.cordova.powermanagement.PowerManagement"/>
|
2013-11-25 17:59:35 +01:00
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
|
|
|
|
<config-file target="AndroidManifest.xml" parent="/*">
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
|
</config-file>
|
|
|
|
|
2014-01-21 15:04:17 +01:00
|
|
|
<source-file src="src/android/PowerManagement.java" target-dir="src/org/apache/cordova/powermanagement" />
|
2013-11-25 17:59:35 +01:00
|
|
|
</platform>
|
2013-08-10 14:21:21 +02:00
|
|
|
</plugin>
|