1
<?xml version="1.0" encoding="UTF-8"?>
3
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
4
id="org.apache.cordova.core.contacts"
9
<js-module src="www/contacts.js" name="contacts">
10
<clobbers target="navigator.contacts" />
13
<js-module src="www/Contact.js" name="Contact">
14
<clobbers target="Contact" />
17
<js-module src="www/ContactAddress.js" name="ContactAddress">
18
<clobbers target="ContactAddress" />
21
<js-module src="www/ContactError.js" name="ContactError">
22
<clobbers target="ContactError" />
25
<js-module src="www/ContactField.js" name="ContactField">
26
<clobbers target="ContactField" />
29
<js-module src="www/ContactFindOptions.js" name="ContactFindOptions">
30
<clobbers target="ContactFindOptions" />
33
<js-module src="www/ContactName.js" name="ContactName">
34
<clobbers target="ContactName" />
37
<js-module src="www/ContactOrganization.js" name="ContactOrganization">
38
<clobbers target="ContactOrganization" />
45
<platform name="android">
46
<config-file target="res/xml/config.xml" parent="/*">
47
<feature name="Contacts">
48
<param name="android-package" value="org.apache.cordova.core.ContactManager"/>
52
<config-file target="AndroidManifest.xml" parent="/*">
53
<uses-permission android:name="android.permission.READ_CONTACTS" />
54
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
55
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
58
<source-file src="src/android/ContactAccessor.java" target-dir="src/org/apache/cordova/core" />
59
<source-file src="src/android/ContactAccessorSdk5.java" target-dir="src/org/apache/cordova/core" />
60
<source-file src="src/android/ContactManager.java" target-dir="src/org/apache/cordova/core" />
65
<config-file target="config.xml" parent="/*">
66
<feature name="Contacts">
67
<param name="ios-package" value="CDVContacts"/>
71
<js-module src="www/ios/contacts.js" name="contacts">
72
<merges target="navigator.contacts" />
75
<js-module src="www/ios/Contact.js" name="Contact">
76
<merges target="Contact" />
79
<header-file src="src/ios/CDVContacts.h" />
80
<source-file src="src/ios/CDVContacts.m" />
81
<header-file src="src/ios/CDVContact.h" />
82
<source-file src="src/ios/CDVContact.m" />
86
<platform name="blackberry10">
87
<config-file target="www/config.xml" parent="/widget">
88
<feature name="Contacts" value="Contacts"/>
90
<config-file target="www/config.xml" parent="/widget">
94
<config-file target="www/config.xml" parent="/widget/rim:permissions">
95
<rim:permit>access_pimdomain_contacts</rim:permit>
97
<source-file src="src/blackberry10/index.js" target-dir="Contacts"></source-file>
98
<source-file src="src/blackberry10/ContactActivity.js" target-dir="Contacts"></source-file>
99
<source-file src="src/blackberry10/ContactAddress.js" target-dir="Contacts"></source-file>
100
<source-file src="src/blackberry10/contactConsts.js" target-dir="Contacts"></source-file>
101
<source-file src="src/blackberry10/ContactError.js" target-dir="Contacts"></source-file>
102
<source-file src="src/blackberry10/ContactField.js" target-dir="Contacts"></source-file>
103
<source-file src="src/blackberry10/ContactFindOptions.js" target-dir="Contacts"></source-file>
104
<source-file src="src/blackberry10/ContactName.js" target-dir="Contacts"></source-file>
105
<source-file src="src/blackberry10/ContactNews.js" target-dir="Contacts"></source-file>
106
<source-file src="src/blackberry10/ContactOrganization.js" target-dir="Contacts"></source-file>
107
<source-file src="src/blackberry10/ContactPhoto.js" target-dir="Contacts"></source-file>
108
<source-file src="src/blackberry10/contactUtils.js" target-dir="Contacts"></source-file>
109
<dependency id="com.blackberry.utils" url="https://github.com/blackberry/cordova-blackberry-plugins.git" commit="plugins" subdir="plugin/com.blackberry.utils"/>
110
<dependency id="org.apache.cordova.blackberry10.pimlib" url="https://github.com/blackberry/cordova-blackberry-plugins.git" commit="plugins" subdir="/plugin/org.apache.cordova.blackberry10.pimlib/"/>
114
<platform name="wp7">
115
<config-file target="config.xml" parent="/*">
116
<feature name="Contacts">
117
<param name="wp-package" value="Contacts"/>
121
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
122
<Capability Name="ID_CAP_CONTACTS" />
125
<source-file src="src/wp/Contacts.cs" />
129
<platform name="wp8">
130
<config-file target="config.xml" parent="/*">
131
<feature name="Contacts">
132
<param name="wp-package" value="Contacts"/>
136
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
137
<Capability Name="ID_CAP_CONTACTS" />
140
<source-file src="src/wp/Contacts.cs" />