~cyphermox/cordova-cli/flatten

« back to all changes in this revision

Viewing changes to node_modules/cordova/node_modules/plugman/spec/plugins/Contacts/plugin.xml

  • Committer: Mathieu Trudel-Lapierre
  • Date: 2013-12-12 05:26:53 UTC
  • Revision ID: mathieu-tl@ubuntu.com-20131212052653-eatjt8zguqua5qmq
testing the flattenage, yo

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
 
3
 
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
4
 
           id="org.apache.cordova.core.contacts"
5
 
      version="0.1.0">
6
 
    <name>Contacts</name>
7
 
 
8
 
 
9
 
    <js-module src="www/contacts.js" name="contacts">
10
 
        <clobbers target="navigator.contacts" />
11
 
    </js-module>
12
 
 
13
 
    <js-module src="www/Contact.js" name="Contact">
14
 
        <clobbers target="Contact" />
15
 
    </js-module>
16
 
 
17
 
    <js-module src="www/ContactAddress.js" name="ContactAddress">
18
 
        <clobbers target="ContactAddress" />
19
 
    </js-module>
20
 
 
21
 
    <js-module src="www/ContactError.js" name="ContactError">
22
 
        <clobbers target="ContactError" />
23
 
    </js-module>
24
 
 
25
 
    <js-module src="www/ContactField.js" name="ContactField">
26
 
        <clobbers target="ContactField" />
27
 
    </js-module>
28
 
 
29
 
    <js-module src="www/ContactFindOptions.js" name="ContactFindOptions">
30
 
        <clobbers target="ContactFindOptions" />
31
 
    </js-module>
32
 
 
33
 
    <js-module src="www/ContactName.js" name="ContactName">
34
 
        <clobbers target="ContactName" />
35
 
    </js-module>
36
 
 
37
 
    <js-module src="www/ContactOrganization.js" name="ContactOrganization">
38
 
        <clobbers target="ContactOrganization" />
39
 
    </js-module>
40
 
 
41
 
 
42
 
 
43
 
 
44
 
    <!-- android -->
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"/>
49
 
            </feature>
50
 
        </config-file>
51
 
 
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" />
56
 
        </config-file>
57
 
 
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" />
61
 
    </platform>
62
 
 
63
 
    <!-- ios -->
64
 
    <platform name="ios">
65
 
        <config-file target="config.xml" parent="/*">
66
 
            <feature name="Contacts">
67
 
                <param name="ios-package" value="CDVContacts"/>
68
 
            </feature>
69
 
        </config-file>
70
 
 
71
 
        <js-module src="www/ios/contacts.js" name="contacts">
72
 
            <merges target="navigator.contacts" />
73
 
        </js-module>
74
 
 
75
 
        <js-module src="www/ios/Contact.js" name="Contact">
76
 
            <merges target="Contact" />
77
 
        </js-module>
78
 
 
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" />
83
 
    </platform>
84
 
 
85
 
    <!-- blackberry10 -->
86
 
    <platform name="blackberry10">
87
 
        <config-file target="www/config.xml" parent="/widget">
88
 
            <feature name="Contacts" value="Contacts"/>
89
 
        </config-file>
90
 
        <config-file target="www/config.xml" parent="/widget">
91
 
            <rim:permissions>
92
 
            </rim:permissions>
93
 
        </config-file>
94
 
        <config-file target="www/config.xml" parent="/widget/rim:permissions">
95
 
            <rim:permit>access_pimdomain_contacts</rim:permit>
96
 
        </config-file>
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/"/>
111
 
    </platform>
112
 
 
113
 
    <!-- wp7 -->
114
 
    <platform name="wp7">
115
 
        <config-file target="config.xml" parent="/*">
116
 
            <feature name="Contacts">
117
 
                <param name="wp-package" value="Contacts"/>
118
 
            </feature>
119
 
        </config-file>
120
 
 
121
 
        <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
122
 
            <Capability Name="ID_CAP_CONTACTS" />
123
 
        </config-file>
124
 
 
125
 
        <source-file src="src/wp/Contacts.cs" />
126
 
    </platform>
127
 
 
128
 
    <!-- wp8 -->
129
 
    <platform name="wp8">
130
 
        <config-file target="config.xml" parent="/*">
131
 
            <feature name="Contacts">
132
 
                <param name="wp-package" value="Contacts"/>
133
 
            </feature>
134
 
        </config-file>
135
 
 
136
 
        <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
137
 
            <Capability Name="ID_CAP_CONTACTS" />
138
 
        </config-file>
139
 
 
140
 
        <source-file src="src/wp/Contacts.cs" />
141
 
    </platform>
142
 
 
143
 
</plugin>