-
Notifications
You must be signed in to change notification settings - Fork 178
/
Copy pathplugin.xml
63 lines (53 loc) · 2.45 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-estimote"
version="0.8.0">
<name>EstimoteBeacons</name>
<description>Cordova/PhoneGap plugin for Estimote beacons.</description>
<license>MIT</license>
<keywords>Estimote, Beacons</keywords>
<js-module src="plugin/src/js/EstimoteBeacons.js" name="EstimoteBeacons">
<clobbers target="estimote" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="EstimoteBeacons" >
<param name="android-package" value="com.evothings.EstimoteBeacons"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:name="com.estimote.sdk.service.BeaconService" android:exported="false"/>
</config-file>
<source-file src="plugin/src/android/EstimoteBeacons.java" target-dir="src/com/evothings" />
<source-file src="plugin/src/android/estimote-sdk-preview.jar" target-dir="libs" />
</platform>
<platform name="ios">
<framework src="CoreBluetooth.framework" />
<framework src="CoreLocation.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="plugin/src/ios/Frameworks/EstimoteSDK.framework" custom="true" />
<header-file src="plugin/src/ios/EstimoteBeacons.h" />
<source-file src="plugin/src/ios/EstimoteBeacons.m" />
<config-file target="config.xml" parent="/*">
<feature name="EstimoteBeacons">
<param name="ios-package" value="EstimoteBeacons" />
</feature>
</config-file>
<config-file parent="/*" target="config.xml">
<feature name="LocationManager">
<param name="ios-package" value="CDVLocationManager"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationAlwaysUsageDescription">
<string>This app would like to scan for beacons when in the background.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
<string>This app would like to scan for beacons while it is in use.</string>
</config-file>
</platform>
</plugin>