-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathplugin.xml
43 lines (36 loc) · 1.59 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
<?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="cordova-plugin-calllog"
version="1.2.2">
<name>CALLLOG</name>
<description>A plugin to get the device's call log</description>
<license>MIT</license>
<keywords>cordova,calllog</keywords>
<repo>https://github.com/creacore-team/cordova-plugin-calllog</repo>
<engines>
<engine name="cordova" version=">=3.0.0"/>
<engine name="cordova-android" version=">=5.0.0"/>
</engines>
<js-module src="www/calllog.js" name="CallLog">
<merges target="window.plugins.callLog" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CallLog">
<param name="android-package" value="be.creacore.calllog.CallLog"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_CALL_LOG" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
</config-file>
<source-file src="src/android/be/creacore/calllog/CallLog.java" target-dir="src/be/creacore/calllog" />
<source-file src="src/android/be/creacore/calllog/Utils.java" target-dir="src/be/creacore/calllog" />
<source-file src="src/android/be/creacore/calllog/Filter.java" target-dir="src/be/creacore/calllog" />
<js-module src="www/android/calllog.js" name="CallLogAndroid">
<merges target="window.plugins.callLog" />
</js-module>
</platform>
</plugin>