-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
49 lines (48 loc) · 2.3 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-empatica-device" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>Empatica</name>
<js-module name="Empatica" src="www/Empatica.js">
<clobbers target="Empatica"/>
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="Empatica">
<param name="android-package" value="au.edu.sydney.poscomp.Empatica"/>
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
</config-file>
<source-file src="src/android/Empatica.java" target-dir="src/au/edu/sydney/poscomp/"/>
<framework custom="true" src="src/android/Empatica.gradle" type="gradleReference"/>
<source-file src="src/android/empalink-2.1.aar" target-dir="libs/"/>
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="Empatica">
<param name="ios-package" value="Empatica"/>
</feature>
</config-file>
<header-file src="src/ios/Empatica.h" />
<source-file src="src/ios/Empatica.m"/>
<framework src="ExternalAccessory.framework" />
<framework src="libz.dylib" />
<framework src="CoreBluetooth.framework" />
<framework src="CoreMotion.framework" />
<framework src="CFNetwork.framework" />
<framework src="MessageUI.framework" />
<framework src="Security.framework" />
<framework src="Accelerate.framework" />
<framework src="src/ios/EmpaLink-ios-0.7-full.framework" custom="true" />
<preference name="BLUETOOTH_USAGE_DESC" default="We need bluetooth access to connect to your device." />
<config-file target="*-Info.plist" parent="NSBluetoothPeripheralUsageDescription">
<string>$BLUETOOTH_USAGE_DESC</string>
</config-file>
<config-file parent="UIBackgroundModes" target="*-Info.plist">
<array>
<string>bluetooth-central</string>
</array>
</config-file>
</platform>
</plugin>