-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.xml
64 lines (45 loc) · 2.05 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cordova-plugin-mobile-sensors"
version="0.0.1">
<name>Mobsense</name>
<engines>
<engine name="cordova-android" version=">=3.4.0" />
</engines>
<asset src="www/mobsense.js" target="js/mobsense.js"/>
<js-module src="www/mobsense.js" name="mobsense">
<clobbers target="mobsense" />
</js-module>
<!-- <dependency id="cordova-plugin-cocoapod-support" version="1.3.0" />-->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Mobsense">
<param name="android-package" value="com.neutrinos.senseplugin.Mobsense"/>
</feature>
</config-file>
<source-file src="src/android/Mobsense.java" target-dir="src/com/neutrinos/senseplugin/" />
<!--<source-file src="src/android/FileHelper.java" target-dir="src/com/neutrinos/plugin/" />
-->
<!-- <framework src="src/android/build.gradle" custom="true" type="gradleReference"/> -->
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Mobsense">
<param name="ios-package" value="Mobsense" />
</feature>
</config-file>
<!-- <config-file target="*-Info.plist">-->
<!-- <array>-->
<!-- <string>NSPhotoLibraryUsageDescription</string>-->
<!-- <string>need photo library access to save pictures there</string>-->
<!-- </array>-->
<!-- </config-file>-->
<header-file src="src/ios/Mobsense.h" target-dir="SensePlugin"/>
<source-file src="src/ios/Mobsense.m" target-dir="SensePlugin"/>
<framework src="SensingKit" type="podspec" spec="~> 0.5.0"/>
<!--<framework src="MPIMotionKit" type="podspec" spec="~> 0.1.0.1"/>-->
<!--<framework src="GTMSessionFetcher" type="podspec" spec="~> 1.1.15"/>-->
<!--<framework src="Protobuf" type="podspec" spec="~> 3.6.0"/>-->
<!--<framework src="GoogleToolboxForMac" type="podspec" spec="~> 2.1.4"/>-->
</platform>
</plugin>