forked from petermetz/cordova-plugin-ibeacon
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
62 lines (56 loc) · 2.68 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"
id="org.apache.cordova.ibeacon"
version="1.0.0">
<name>iBeacon</name>
<description>Cordova iBeacon Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,ibeacon,beacon,bluetooth,le</keywords>
<repo>https://github.com/themattray/cordova-plugin-ibeacon.git</repo>
<js-module src="www/IBeacon.js" name="device">
<clobbers target="IBeacon" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="IBeacon">
<param name="ios-package" value="CDVIBeacon"/>
</feature>
</config-file>
<header-file src="src/ios/CDVIBeacon.h" />
<source-file src="src/ios/CDVIBeacon.m" />
<framework src="CoreBluetooth.framework" />
</platform>
<platform name="android">
<source-file src="libs/androidibeaconlibrary.jar" target-dir="libs" />
<source-file src="libs/classes.jar" target-dir="libs" />
<source-file src="src/android/iBeaconGap.java" target-dir="src/com/thinketg/plugin/ibeacongap" />
<source-file src="src/android/BeaconUtils.java" target-dir="src/com/thinketg/plugin/ibeacongap" />
<config-file parent="/*" target="res/xml/config.xml">
<feature name="iBeaconGap">
<param name="android-package" value="com.thinketg.plugin.ibeacongap.iBeaconGap" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:enabled="true"
android:exported="true"
android:isolatedProcess="false"
android:label="iBeacon"
android:name="com.radiusnetworks.ibeacon.service.IBeaconService">
</service>
<service android:enabled="true"
android:name="com.radiusnetworks.ibeacon.IBeaconIntentProcessor">
<meta-data android:name="background" android:value="true" />
<intent-filter
android:priority="1" >
<action android:name="com.thinketg.plugin.ibeacongap.DID_RANGING" />
<action android:name="com.thinketg.plugin.ibeacongap.DID_MONITORING" />
</intent-filter>
</service>
</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>
</platform>
</plugin>