This repository has been archived by the owner on May 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
plugin.xml
62 lines (54 loc) · 4.26 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="uk.ac.lancaster.library.backgroundbeacons"
version="0.0.1">
<name>Background Beacon Detection Plugion</name>
<description>Proximity Beacon background monitoring for android (supporting iBeacons)</description>
<license>Apache 2.0</license>
<js-module src="www/BackgroundBeaconMonitoring.js" name="BackgroundBeaconMonitoring">
<clobbers target="BackgroundBeaconMonitoring" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="BackgroundBeaconManager" >
<param name="android-package" value="uk.ac.lancaster.library.backgroundbeacons.BackgroundBeaconManager"/>
</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" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver android:name="uk.ac.lancaster.library.backgroundbeacons.StartupBroadcastReceiver" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.ACTION_POWER_CONNECTED" />
<action android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
</intent-filter>
</receiver>
<service android:enabled="true"
android:exported="true"
android:isolatedProcess="false"
android:label="myJourneysBackgroundBeaconService"
android:name="uk.ac.lancaster.library.backgroundbeacons.BackgroundBeaconService" />
</config-file>
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/BackgroundBeaconManager.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/BackgroundBeaconService.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/StartupBroadcastReceiver.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/SharedPreferencesUtility.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/BeaconEvent.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/BeaconInfo.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/BeaconRegion.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/BeaconTrackingEvent.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/RegionTrackingEvent.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/BeaconTrackingService.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/BeaconLoggingMonitorNotifier.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/MonitoringConsumer.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<source-file src="src/android/uk/ac/lancaster/library/backgroundbeacons/BeaconLoggingRangeNotifier.java" target-dir="src/uk/ac/lancaster/library/backgroundbeacons" />
<!-- <source-file src="libs/android/altbeacon.jar" target-dir="libs" framework="true" /> -->
</platform>
</plugin>