-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
48 lines (36 loc) · 1.6 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
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
id="traxor-contacts-plugin"
version="1">
<name>Traxor Contacts</name>
<description>Traxor Contacts Plugin</description>
<license>None, cannot be distributed</license>
<js-module src="traxor-plugin.js" name="contactsplugin">
<clobbers target="traxor.contactsplugin" />
</js-module>
<allow-navigation href="*" />
<access origin="*" />
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="TraxorPlugin">
<param name="ios-package" value="TraxorPlugin"/>
</feature>
</config-file>
<header-file src="src/ios/TraxorPlugin.h" />
<source-file src="src/ios/TraxorPlugin.m" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="TraxorPlugin">
<param name="android-package" value="com.traxor.plugins.TraxorPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
</config-file>
<source-file src="src/android/TraxorPlugin.java" target-dir="src/com/traxor/plugins" />
</platform>
</plugin>