This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
plugin.xml
56 lines (52 loc) · 2.26 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
54
55
56
<?xml version="1.0" encoding="utf-8"?>
<plugin id="cordova-plugin-contacts-x" version="2.0.3" xmlns="http://apache.org/cordova/ns/plugins/1.0">
<name>ContactsX</name>
<description>Cordova Plugins for managing contacts</description>
<repo>https://github.com/EinfachHans/cordova-plugin-contacts-x</repo>
<issue>https://github.com/EinfachHans/cordova-plugin-contacts-x/issues</issue>
<license>MIT</license>
<js-module name="ContactsX" src="www/contactsX.js">
<clobbers target="window.ContactsX" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="ContactsX">
<param name="android-package" value="de.einfachhans.ContactsX.ContactsX" />
</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>
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
<source-file src="src/android/ContactsX.java" target-dir="src/de/einfachhans/ContactsX" />
<source-file src="src/android/ContactsXErrorCodes.java" target-dir="src/de/einfachhans/ContactsX" />
<source-file src="src/android/ContactsXFindOptions.java" target-dir="src/de/einfachhans/ContactsX" />
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="ContactsX">
<param name="ios-package" value="ContactsX" />
</feature>
</config-file>
<header-file src="src/ios/ContactsX-Bridging-Header.h" />
<source-file src="src/ios/ContactsX.swift" />
<source-file src="src/ios/ContactX.swift" />
<source-file src="src/ios/ContactsXOptions.swift" />
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git" />
</config>
<pods use-frameworks="true">
<pod name="PhoneNumberKit" spec="~> 3.3" />
</pods>
</podspec>
<config-file target="*-Info.plist" parent="NSContactsUsageDescription">
<string>
This app requires access to the contacts to manage them.
</string>
</config-file>
<dependency id="cordova-plugin-add-swift-support" version="2.0.2" />
</platform>
</plugin>