-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.xml
More file actions
68 lines (54 loc) · 2.63 KB
/
Copy pathplugin.xml
File metadata and controls
68 lines (54 loc) · 2.63 KB
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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-intercom" version="6.2.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=">=7.1.0" />
<engine name="cordova-android" version=">=7.1.0" />
<engine name="cordova-ios" version=">=4.5.4" />
</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" />
<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>
<framework src="Intercom" type="podspec" spec="~> 5.1.0" />
</platform>
<platform name="android">
<source-file src="src/android/IntercomBridge.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>