-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
88 lines (74 loc) · 3.97 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-intercom" version="10.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>Intercom</name>
<author>Intercom</author>
<license>MIT License</license>
<description>Cordova plugin for Intercom for mobile</description>
<repo>https://github.com/intercom/intercom-cordova.git</repo>
<keywords>intercom,intercom-cordova</keywords>
<engines>
<engine name="cordova" version=">=9.0.0" />
<engine name="cordova-android" version=">=9.0.0" />
<engine name="cordova-ios" version=">=6.1.1" />
</engines>
<js-module name="Intercom" src="www/intercom.js">
<clobbers target="intercom" />
<clobbers target="cordova.plugins.intercom" />
<clobbers target="plugin.intercom" />
</js-module>
<platform name="ios">
<hook type="before_plugin_install" src="scripts/prepareCocoaPods.js" />
<hook type="after_prepare" src="scripts/checkForUpdate.js" />
<header-file src="src/ios/IntercomBridge.h" />
<source-file src="src/ios/IntercomBridge.m" />
<source-file src="src/ios/ICMHelpCenterCollection+DictionaryConversion.h" />
<source-file src="src/ios/ICMHelpCenterCollection+DictionaryConversion.m" />
<source-file src="src/ios/ICMHelpCenterArticleSearchResult+DictionaryConversion.h" />
<source-file src="src/ios/ICMHelpCenterArticleSearchResult+DictionaryConversion.m" />
<source-file src="src/ios/ICMHelpCenterArticle+DictionaryConversion.h" />
<source-file src="src/ios/ICMHelpCenterArticle+DictionaryConversion.m" />
<source-file src="src/ios/ICMHelpCenterCollectionContent+DictionaryConversion.h" />
<source-file src="src/ios/ICMHelpCenterCollectionContent+DictionaryConversion.m" />
<source-file src="src/ios/ICMHelpCenterSection+DictionaryConversion.h" />
<source-file src="src/ios/ICMHelpCenterSection+DictionaryConversion.m" />
<header-file src="src/ios/AppDelegate+IntercomPush.h" />
<source-file src="src/ios/AppDelegate+IntercomPush.m" />
<config-file target="config.xml" parent="/*">
<feature name="Intercom">
<param name="ios-package" value="IntercomBridge" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
<string>Send photos in your messages to the app.</string>
</config-file>
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>remote-notification</string>
</array>
</config-file>
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="Intercom" spec="~> 10.0.1" />
</pods>
</podspec>
</platform>
<platform name="android">
<source-file src="src/android/IntercomBridge.java" target-dir="src/io/intercom/android/sdk" />
<source-file src="src/android/HelpCenterCollectionModel.java" target-dir="src/io/intercom/android/sdk" />
<source-file src="src/android/HelpCenterCollectionContentModel.java" target-dir="src/io/intercom/android/sdk" />
<source-file src="src/android/HelpCenterCollectionSectionModel.java" target-dir="src/io/intercom/android/sdk" />
<source-file src="src/android/CordovaHeaderInterceptor.java" target-dir="src/io/intercom/android/sdk" />
<framework src="src/android/intercom.gradle" custom="true" type="gradleReference" />
<framework src="src/android/build-extras-intercom.gradle" custom="true" type="gradleReference" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Intercom">
<param name="android-package" value="io.intercom.android.sdk.IntercomBridge" />
<param name="onload" value="true" />
</feature>
</config-file>
</platform>
</plugin>