-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.xml
40 lines (33 loc) · 1.62 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
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-ttlock" version="0.0.1">
<name>TTLock</name>
<description>TTLock SDK Plugin</description>
<license>Apache 2.0</license>
<keywords>TTLock, bluetooth, BLE, bluetooth low energy, bluetooth smart</keywords>
<repo>https://github.com/boomfly/cordova-plugin-ttlock.git</repo>
<issue>https://github.com/boomfly/cordova-plugin-ttlock/issues</issue>
<js-module src="www/ttlock.js" name="ttlock">
<clobbers target="ttlock"/>
</js-module>
<platform name="android">
<framework src="com.tongtonglock:ttlock:3.0.6" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="TTLockPlugin">
<param name="android-package" value="com.apartx.ttlock.TTLockPlugin" />
</feature>
</config-file>
<source-file src="src/android/TTLockPlugin.java" target-dir="src/com/apartx/ttlock" />
<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.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
</platform>
<platform name="browser">
<js-module src="src/browser/TTLockPlugin.js" name="TTLockPlugin">
<merges target="ttlock"/>
</js-module>
</platform>
</plugin>