-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
47 lines (40 loc) · 2.16 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
46
47
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-dialonce" version="2.6.16" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>Dial Once</name>
<author>Dial Once</author>
<license>MIT License</license>
<description>Cordova plugin for Dial Once for mobile</description>
<repo>https://github.com/dial-once/dialonce-cordova.git</repo>
<keywords>dialonce,dialonce-cordova</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
<engine name="cordova-android" version=">=4.0.0" />
</engines>
<js-module src="www/dialonce.js" name="DialOnce">
<clobbers target="navigator.dialonce" />
</js-module>
<!-- android -->
<platform name="android">
<preference name="ANDROID_API_KEY" default="_"/>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.INSTALL_SHORTCUT" />
</config-file>
<config-file target="AndroidManifest.xml" parent="application">
<meta-data android:name="DIAL_ONCE_API_KEY" android:value="$ANDROID_API_KEY"/>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="DialOnce" >
<param name="android-package" value="com.dialonce.sdk.DialOnceBridge" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/DialOnceBridge.java" target-dir="src/com/dialonce/sdk" />
<framework src="src/android/dialonce.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>