-
Notifications
You must be signed in to change notification settings - Fork 148
/
Copy pathconfig_sample.xml
47 lines (42 loc) · 1.71 KB
/
config_sample.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
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.urbanairship.sample" version="1.0.0"
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>Test</name>
<description>
A sample Apache Cordova application that responds to the deviceready event.
</description>
<author email="[email protected]" href="http://cordova.io">
Apache Cordova Team
</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:*" />
<resource-file src="google-services.json" target="app/google-services.json" />
<!-- Edit manifest to add explicit android:exported attribute so that we can target Android 12. -->
<edit-config
file="AndroidManifest.xml"
target="/manifest/application/activity[@android:name='MainActivity']"
mode="merge">
<activity android:exported="true"></activity>
</edit-config>
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
<preference name="AndroidGradlePluginGoogleServicesEnabled" value="true" />
<preference name="AndroidXEnabled" value="true" />
<!-- Deployment target must be >= iOS 14 -->
<preference name="deployment-target" value="14.0" />
<!-- Must be 5.0 -->
<preference name="SwiftVersion" value="5.0" />
</widget>