This repository has been archived by the owner on Oct 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 151
/
plugin.xml
45 lines (38 loc) · 1.63 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://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="call-number"
version="1.0.4">
<description>Call Number from Cordova Application</description>
<name>Cordova Call Number Plugin</name>
<author>Rohith Varanasi, Nishil Shah</author>
<repo>https://github.com/Rohfosho/CordovaCallNumberPlugin.git</repo>
<issue>https://github.com/Rohfosho/CordovaCallNumberPlugin/issues</issue>
<license>Apache 2.0</license>
<keywords>cordova,call,dialer,phonegap</keywords>
<js-module src="www/CallNumber.js" name="CallNumber">
<clobbers target="call"/>
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="CallNumber">
<param name="ios-package" value="CFCallNumber"/>
</feature>
</config-file>
<header-file src="src/ios/CFCallNumber.h" />
<source-file src="src/ios/CFCallNumber.m" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CallNumber">
<param name="android-package" value="com.rohithvaranasi.callnumber.CFCallNumber"/>
</feature>
</config-file>
<config-file target="app/src/main/AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-feature android:name="android.hardware.telephony" android:required="false" />
</config-file>
<source-file src="src/android/CFCallNumber.java" target-dir="src/com/rohithvaranasi/callnumber" />
</platform>
</plugin>