-
Notifications
You must be signed in to change notification settings - Fork 107
Expand file tree
/
Copy pathconfig.xml
More file actions
72 lines (67 loc) · 3.56 KB
/
config.xml
File metadata and controls
72 lines (67 loc) · 3.56 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
69
70
71
72
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.intercom.cordova.sample" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:android="schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Intercom Cordova</name>
<description>
An Intercom sample application for Cordova.
</description>
<author email="team@intercom.com" href="http://intercom.com">
Brian Boyle
</author>
<content src="index.html" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<platform name="android">
<allow-intent href="market:*" />
<preference name="android-minSdkVersion" value="22" />
<preference name="android-targetSdkVersion" value="34" />
<preference name="android-compileSdkVersion" value="34" />
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='MainActivity']">
<activity android:exported="true" />
</edit-config>
<preference name="AndroidXEnabled" value="true" />
<icon density="hdpi" src="www/img/android/hdpi.png" />
<icon density="mdpi" src="www/img/android/mdpi.png" />
<icon density="xhdpi" src="www/img/android/xhdpi.png" />
<icon density="xxhdpi" src="www/img/android/xxhdpi.png" />
<icon density="xxxhdpi" src="www/img/android/xxxhdpi.png" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<preference name="deployment-target" value="15.0" />
<preference name="BackupWebStorage" value="local" />
<icon height="29" src="www/img/icon-29.png" width="29" />
<icon height="58" src="www/img/icon-29@2x.png" width="58" />
<icon height="87" src="www/img/icon-29@3x.png" width="87" />
<icon height="180" src="www/img/icon-60@3x.png" width="180" />
<icon height="60" src="www/img/icon-60.png" width="60" />
<icon height="120" src="www/img/icon-60@2x.png" width="120" />
<icon height="76" src="www/img/icon-76.png" width="76" />
<icon height="152" src="www/img/icon-76@2x.png" width="152" />
<icon height="40" src="www/img/icon-40.png" width="40" />
<icon height="80" src="www/img/icon-40@2x.png" width="80" />
<icon height="167" src="www/img/icon-83.5@2x.png" width="167" />
<!-- https://developer.apple.com/documentation/bundleresources/entitlements/aps-environment-->
<config-file parent="aps-environment" target="*/Entitlements-Debug.plist">
<string>development</string>
</config-file>
<config-file parent="aps-environment" target="*/Entitlements-Release.plist">
<string>production</string>
</config-file>
</platform>
<preference name="intercom-app-id" value="YOUR_WORKSPACE_ID" />
<preference name="intercom-ios-api-key" value="YOUR_IOS_API_KEY" />
<preference name="intercom-android-api-key" value="YOUR_ANDROID_API_KEY" />
<!-- Uncomment to change region -->
<!-- <config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data android:name="io.intercom.android.sdk.server.region" android:value="@integer/intercom_server_region_aus" />
</config-file> -->
<!-- <config-file target="*-Info.plist" parent="IntercomRegion">
<string>AU</string>
</config-file> -->
</widget>