-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathplugin.xml
More file actions
34 lines (34 loc) · 1.56 KB
/
plugin.xml
File metadata and controls
34 lines (34 loc) · 1.56 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
<?xml version='1.0' encoding='UTF-8'?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-pedometer" version="0.4.1">
<name>Core Motion Pedometer</name>
<author>Lee Crossley (http://ilee.co.uk/)</author>
<description>Cordova / PhoneGap Plugin for the Core Motion Pedometer to fetch pedestrian-related data,
such as step counts and other information about the distance travelled.</description>
<keywords>cordova, core motion, pedometer, steps, distance, pedestrian</keywords>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/pedometer.js" name="Pedometer">
<clobbers target="pedometer" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Pedometer">
<param name="ios-package" value="Pedometer" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/Pedometer.h" />
<source-file src="src/ios/Pedometer.m" />
<framework src="CoreMotion.framework" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Pedometer">
<param name="android-package" value="org.apache.cordova.pedometer.PedoListener" />
</feature>
</config-file>
<source-file src="src/android/PedoListener.java" target-dir="src/org/apache/cordova/pedometer" />
</platform>
</plugin>