forked from ElieSauveterre/cordova-phone-call-trap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
45 lines (34 loc) · 1.45 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="io.gvox.plugin.phonecalltrap"
version="0.1.2">
<name>PhoneCallTrap</name>
<description>A phone call trap</description>
<license>MIT</license>
<keywords>phonegap,calendar, phone, call, phone-call</keywords>
<js-module src="www/PhoneCallTrap.js" name="PhoneCallTrap">
<clobbers target="window.PhoneCallTrap"/>
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="PhoneCallTrap">
<param name="android-package" value="io.gvox.phonecalltrap.PhoneCallTrap"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
</config-file>
<source-file src="src/android/PhoneCallTrap.java" target-dir="src/io/gvox/phonecalltrap"/>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="PhoneCallTrap">
<param name="ios-package" value="CDVPhoneCallTrap"/>
</feature>
</config-file>
<header-file src="src/ios/CDVPhoneCallTrap.h"/>
<source-file src="src/ios/CDVPhoneCallTrap.m"/>
<framework src="CoreTelephony.framework"/>
</platform>
</plugin>