-
Notifications
You must be signed in to change notification settings - Fork 10
/
plugin.xml
43 lines (41 loc) · 1.88 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
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-phone-call"
version="1.1.3">
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<name>PhoneCall</name>
<description>Cordova Phone Call Plugin</description>
<license>MIT</license>
<keywords>cordova, dialer, ios, android</keywords>
<repo>https://github.com/lakshmansha/cordova-plugin-phone-call.git</repo>
<js-module src="www/dialer.js" name="phonedialer">
<merges target="cordova.plugins.phonedialer" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="PhoneDialer">
<param name="ios-package" value="PhoneDialer"/>
</feature>
</config-file>
<header-file src="src/ios/PhoneDialer.h"/>
<source-file src="src/ios/PhoneDialer.m"/>
</platform>
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="PhoneDialer">
<param name="android-package" value="org.apache.cordova.phonedialer.PhoneDialer"/>
</feature>
</config-file>
<source-file
src="src/android/PhoneDialer.java"
target-dir="src/com/cordova/phonedialer"/>
</platform>
</plugin>