forked from evothings/phonegap-estimotebeacons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
94 lines (83 loc) · 4.21 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?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="pl.makingwaves.estimotebeacons"
version="0.7.1">
<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" />
<source-file src="plugin/src/ios/libEstimoteSDK.a" framework="true" />
<header-file src="plugin/src/ios/Headers/ESTBeacon.h" />
<header-file src="plugin/src/ios/Headers/ESTBeaconDefinitions.h" />
<header-file src="plugin/src/ios/Headers/ESTBeaconFirmwareVO.h" />
<header-file src="plugin/src/ios/Headers/ESTBeaconManager.h" />
<header-file src="plugin/src/ios/Headers/ESTBeaconRegion.h" />
<header-file src="plugin/src/ios/Headers/ESTBeaconUpdateConfig.h" />
<header-file src="plugin/src/ios/Headers/ESTBeaconUpdateInfo.h" />
<header-file src="plugin/src/ios/Headers/ESTBeaconVO.h" />
<header-file src="plugin/src/ios/Headers/ESTBulkUpdater.h" />
<header-file src="plugin/src/ios/Headers/ESTConfig.h" />
<header-file src="plugin/src/ios/Headers/ESTDateRule.h" />
<header-file src="plugin/src/ios/Headers/ESTDefinitions.h" />
<header-file src="plugin/src/ios/Headers/ESTFirmwareInfoVO.h" />
<header-file src="plugin/src/ios/Headers/ESTMotionRule.h" />
<header-file src="plugin/src/ios/Headers/ESTNearable.h" />
<header-file src="plugin/src/ios/Headers/ESTNearableDefinitions.h" />
<header-file src="plugin/src/ios/Headers/ESTNearableManager.h" />
<header-file src="plugin/src/ios/Headers/ESTNearableRule.h" />
<header-file src="plugin/src/ios/Headers/ESTOrientationRule.h" />
<header-file src="plugin/src/ios/Headers/ESTProximityRule.h" />
<header-file src="plugin/src/ios/Headers/ESTRule.h" />
<header-file src="plugin/src/ios/Headers/ESTTemperatureRule.h" />
<header-file src="plugin/src/ios/Headers/ESTTrigger.h" />
<header-file src="plugin/src/ios/Headers/ESTTriggerManager.h" />
<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 Estimote Beacons when in the background.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
<string>This app would like to scan for Estimote Beacons while it is in use.</string>
</config-file>
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>bluetooth-central</string>
<string>bluetooth-peripheral</string>
</array>
</config-file>
</platform>
</plugin>