-
Notifications
You must be signed in to change notification settings - Fork 3
/
plugin.xml
35 lines (27 loc) · 1.14 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-motion-activity" version="0.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-motion-activity</name>
<description>A Cordova plugin that detects and watch motion API</description>
<license>Apache 2.0</license>
<keywords>cordova, motion activity detection</keywords>
<js-module name="motionActivity" src="www/motion-activity.js">
<clobbers target="cordova.plugins.motionActivity" />
</js-module>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<!-- android -->
<platform name="android">
</platform>
<!-- ios -->
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="MotionActivity">
<param name="ios-package" value="MotionActivity"/>
</feature>
</config-file>
<header-file src="src/ios/MotionActivity.h"/>
<source-file src="src/ios/MotionActivity.m"/>
<framework src="CoreMotion.framework"/>
</platform>
</plugin>