-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.xml
185 lines (184 loc) · 10.8 KB
/
config.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<?xml version='1.0' encoding='utf-8'?>
<widget
android-versionCode="2050001"
id="org.wevote.cordova"
namespace="org.wevote.cordova"
ios-CFBundleVersion="2.5.0.1"
version="2.5.0"
xmlns:android="http://schemas.android.com/apk/res/android">
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"
<name>We Vote</name>
<description>
We Vote Cordova wrapper for the We Vote WebApp root
</description>
<version />
<author email="[email protected]" href="http://wevote.us">
We Vote Cordova Team
</author>
<content src="index.html" />
<access allows-arbitrary-loads-for-media="true" allows-arbitrary-loads-in-web-content="true" allows-local-networking="true" origin="*" />
<access origin="about:*" />
<access origin="*://*.facebook.com/*" />
<access origin="*://*.google.com/*" />
<access origin="*://*.googleapis.com/*" />
<access origin="*://*.youtube.com/*" />
<access origin="*://wevote.us/*" />
<access origin="*://*.wevoteusa.org/*" />
<access origin="*://cdnjs.cloudflare.com/*" />
<access origin="*" />
<allow-navigation href="about:*" />
<allow-navigation href="data:*" />
<allow-navigation href="*://*.youtube.com/*" />
<allow-navigation href="*://*.facebook.com/*" />
<allow-navigation href="*://*.vimeo.com/*" />
<allow-navigation href="*://*.google.com/*" />
<allow-navigation href="*://*.googlevideo.com/*" />
<allow-navigation href="*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<allow-intent href="wevotetwitterscheme:" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="app://apis.google.com/*" />
<allow-intent href="*://*.googleapis.com/*" />
<allow-intent href="*" />
<allow-navigation href="*" />
<preference name="AllowedSchemes" value="mycoolapp,wevotetwitterscheme" />
<platform name="android">
<!-- <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">-->
<!-- <application android:debuggable="true" />-->
<!-- </edit-config>-->
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.NETWORK_ACCESS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<allow-intent href="market:*" />
<preference name="Scheme" value="app" />
<preference name="Hostname" value="localhost" />
<preference name="AndroidGradlePluginVersion" value="8.1.0" />
<preference name="GradlePluginGoogleServicesEnabled" value="true" />
<preference name="GradlePluginGoogleServicesVersion" value="4.3.15" />
<preference name="GradleVersion" value="8.4" />
<preference name="APG_VERSION" value="8.4" />
<preference name="android-buildToolsVersion" value="34.0.0" />
<preference name="defaultBuildToolsVersion" value="34.0.0" />
<preference name="android-compileSdkVersion" value="34" />
<preference name="android-targetSdkVersion" value="34" />
<preference name="android-manifest/@android:versionName" value="2.3.0" />
<preference name="android-minSdkVersion" value="31" />
<preference name="cdvCompileSdkVersion" value="16.0.2.7.1" />
<resource-file src="res/google/google-services.json" target="app/google-services.json" />
<allow-intent href="market:*" />
<!-- <splash density="ldpi" src="res/screen/android/screen-ldpi-landscape.png" />-->
<!-- <splash density="mdpi" src="res/screen/android/screen-mdpi-landscape.png" />-->
<!-- <splash density="hdpi" src="res/screen/android/screen-hdpi-landscape.png" />-->
<!-- <splash density="xhdpi" src="res/screen/android/screen-xhdpi-landscape.png" />-->
<!-- <splash density="xxhdpi" src="res/screen/android/screen-xxhdpi-landscape.png" />-->
<!-- <splash density="xxxhdpi" src="res/screen/android/screen-xxxhdpi-landscape.png" />-->
<!-- These icons are supposed to work on the splash screen, but maybe only work as the app icon on the phone home screen-->
<!-- <icon density="hdpi" src="res/mipmap-hdpi/ic_launcher.png" />-->
<!-- <icon density="ldpi" src="res/mipmap-ldpi/ic_launcher.png" />-->
<!-- <icon density="mdpi" src="res/mipmap-mdpi/ic_launcher.png" />-->
<!-- <icon density="xhdpi" src="res/mipmap-xhdpi/ic_launcher.png" />-->
<!-- <icon density="xxhdpi" src="res/mipmap-xxhdpi/ic_launcher.png" />-->
<!-- <icon density="xxxhdpi" src="res/mipmap-xxxhdpi/ic_launcher.png" />-->
<icon src="res/android-chrome-256x256.png" />
<!-- This icon is for the deprecated splash screen plug in, but is the only thing that puts an icon on the default android splash screen - October 2023 -->
<preference name="AndroidWindowSplashScreenAnimatedIcon" value="res/universal_launch.png" />
<feature name="SocialSharing">
<param name="android-package" value="nl.xservices.plugins.SocialSharing" />
</feature>
<!-- <config-file parent="/manifest" target="AndroidManifest.xml">-->
<!-- <queries>-->
<!-- <provider android:authorities="com.facebook.katana.provider.PlatformProvider" /> <!– allows app to access Facebook app features –>-->
<!-- <provider android:authorities="com.facebook.orca.provider.PlatformProvider" /> <!– allows sharing to Messenger app –>-->
<!-- <package android:name="com.facebook.katana" />-->
<!-- <intent>-->
<!-- <action android:name="android.intent.action.SENDTO" />-->
<!-- <data android:scheme="mailto" />-->
<!-- </intent>-->
<!-- </queries>-->
<!-- </config-file>-->
</platform>
<platform name="ios">
<preference name="deployment-target" value="15.0" />
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<access origin="*" subdomains="true" />
<resource-file src="res/google/GoogleService-Info.plist" />
<preference name="UseSwiftLanguageVersion" value="5" />
<preference name="scheme" value="app" />
<preference name="hostname" value="localhost" />
<preference name="FadeSplashScreenDuration" value="0" />
<preference name="AllowInlineMediaPlayback" value="false" />
<preference name="BackupWebStorage" value="local" />
<preference name="DisallowOverscroll" value="true" />
<preference name="EnableViewportScale" value="false" />
<preference name="KeyboardDisplayRequiresUserAction" value="true" />
<preference name="MediaTypesRequiringUserActionForPlayback" value="false" />
<preference name="SuppressesIncrementalRendering" value="false" />
<preference name="SuppressesLongPressGesture" value="false" />
<preference name="Suppresses3DTouchGesture" value="false" />
<preference name="GapBetweenPages" value="0" />
<preference name="PageLength" value="0" />
<preference name="PaginationBreakingMode" value="page" />
<preference name="PaginationMode" value="unpaginated" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="3000" />
<preference name="AutoHideSplashScreen" value="false" />
<preference name="KeyboardDisplayRequiresUserAction" value="false" />
<preference name="FACEBOOK_URL_SCHEME_SUFFIX" default="suffix" />
<preference name="orientation" value="portrait" />
<config-file parent="UIStatusBarStyle" platform="ios" target="*-Info.plist">
<string>Dark Content</string>
</config-file>
<config-file parent="FacebookAutoLogAppEventsEnabled" target="*-Info.plist">
<false />
</config-file>
<config-file parent="FacebookAdvertiserIDCollectionEnabled" target="*-Info.plist">
<false />
</config-file>
<config-file parent="UIMainStoryboardFile" target="*-Info.plist">
<string>CDVLaunchScreen</string>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="ios-CFBundleVersion">
<string>2.5.0.1</string>
</config-file>
<edit-config file="*-Info.plist" mode="merge" target="NSContactsUsageDescription">
<string>This app requires access to the contacts to allow users to encourage their friends to vote.</string>
</edit-config>
<icon height="20" src="res/icon/ios/icon_20pt.png" width="20" />
<icon height="29" src="res/icon/ios/icon_29pt.png" width="29" />
<icon height="40" src="res/icon/ios/[email protected]" width="40" />
<icon height="44" src="res/icon/ios/[email protected]" width="44" />
<icon height="50" src="res/icon/ios/icon_50pt.png" width="50" />
<icon height="57" src="res/icon/ios/icon_57pt.png" width="57" />
<icon height="58" src="res/icon/ios/[email protected]" width="58" />
<icon height="60" src="res/icon/ios/[email protected]" width="60" />
<icon height="66" src="res/icon/ios/[email protected]" width="66" />
<icon height="72" src="res/icon/ios/icon_72pt.png" width="72" />
<icon height="76" src="res/icon/ios/icon_76pt.png" width="76" />
<icon height="80" src="res/icon/ios/[email protected]" width="80" />
<icon height="87" src="res/icon/ios/[email protected]" width="87" />
<icon height="88" src="res/icon/ios/[email protected]" width="88" />
<icon height="100" src="res/icon/ios/[email protected]" width="100" />
<icon height="114" src="res/icon/ios/[email protected]" width="114" />
<icon height="120" src="res/icon/ios/[email protected]" width="120" />
<icon height="144" src="res/icon/ios/[email protected]" width="144" />
<icon height="152" src="res/icon/ios/[email protected]" width="152" />
<icon height="167" src="res/icon/ios/[email protected]" width="167" />
<icon height="180" src="res/icon/ios/[email protected]" width="180" />
<icon height="216" src="res/icon/ios/[email protected]" width="216" />
<icon height="234" src="res/icon/ios/[email protected]" width="234" />
<icon height="1024" src="res/icon/ios/icon_1024pt.png" width="1024" />
<feature name="SocialSharing">
<param name="ios-package" value="SocialSharing" />
</feature>
</platform>
</widget>