forked from dbaq/cordova-plugin-contacts-phone-numbers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
53 lines (43 loc) · 2.12 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
48
49
50
51
52
53
<?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-contacts-phonenumbers"
version="0.0.12">
<name>Contacts Phone Numbers</name>
<description>Cordova Plugin to List Contacts Phone Numbers </description>
<license>Apache 2.0</license>
<keywords>cordova,contacts,list,phone,numbers</keywords>
<issue>https://github.com/dbaq/cordova-plugin-contacts-phone-numbers/issues</issue>
<js-module src="www/contactsPhoneNumbers.js" name="contactsPhoneNumbers">
<clobbers target="navigator.contactsPhoneNumbers" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ContactsPhoneNumbers">
<param name="android-package" value="com.dbaq.cordova.contactsPhoneNumbers.ContactsManager"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_CONTACTS" />
</config-file>
<source-file src="src/android/ContactsManager.java" target-dir="src/com/dbaq/cordova/contactsPhoneNumbers" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ContactsPhoneNumbers">
<param name="ios-package" value="CDVContactsPhoneNumbers"/>
</feature>
</config-file>
<header-file src="src/ios/CDVContactsPhoneNumbers.h" />
<source-file src="src/ios/CDVContactsPhoneNumbers.m" />
<framework src="AddressBook.framework" weak="true" />
<framework src="AddressBookUI.framework" weak="true" />
<framework src="CoreGraphics.framework" />
<preference name="CONTACTS_USAGE_DESCRIPTION" default="This app needs contacts access"/>
<config-file target="*-Info.plist" parent="NSContactsUsageDescription">
<string>$CONTACTS_USAGE_DESCRIPTION</string>
</config-file>
</platform>
</plugin>