-
Notifications
You must be signed in to change notification settings - Fork 12
/
config-template-shared.xml
137 lines (137 loc) · 8.2 KB
/
config-template-shared.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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="YourAppIdentifierHere" version="IONIC_APP_VERSION_NUMBER_PLACEHOLDER" ios-CFBundleVersion="IONIC_IOS_APP_VERSION_NUMBER_PLACEHOLDER" android-versionCode="203024" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>YourAppDisplayNameHere</name>
<description>
YourAppDescriptionHere
</description>
<author email="[email protected]" href="https://quantimo.do/">
QuantiModo
</author>
<engine name="ios" spec="4.4.0" />
<access origin="https://widget.intercom.io/*"/>
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<allow-navigation href="https://*/*" />
<content src="index.html" />
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar" />
</feature>
<hook src="hooks/uncomment_cordova_js.js" type="before_build" />
<hook src="hooks/uncomment_cordova_js.js" type="before_deploy" />
<platform name="android">
<resource-file src="google-services.json" target="google-services.json" />
<allow-intent href="market:*" />
<icon src="resources/icon.png"/>
<!-- Breaks build. I think paths need to be updated <hook type="after_prepare" src="hooks/android_custom_resources.js" /> -->
<hook src="hooks/build-extras-hook.js" type="before_run" />
<hook src="hooks/build-extras-hook.js" type="before_build" />
</platform>
<platform name="ios">
<resource-file src="GoogleService-Info.plist" />
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<preference name="KeychainAccessibility" value="WhenUnlocked"/>
<icon src="resources/ios/icon/[email protected]"/>
<icon src="resources/ios/icon/icon.png" width="57" height="57"/>
<icon src="resources/ios/icon/[email protected]" width="114" height="114"/>
<icon src="resources/ios/icon/icon-40.png" width="40" height="40"/>
<icon src="resources/ios/icon/[email protected]" width="80" height="80"/>
<icon src="resources/ios/icon/[email protected]" width="120" height="120"/>
<icon src="resources/ios/icon/icon-50.png" width="50" height="50"/>
<icon src="resources/ios/icon/[email protected]" width="100" height="100"/>
<icon src="resources/ios/icon/icon-60.png" width="60" height="60"/>
<icon src="resources/ios/icon/[email protected]" width="120" height="120"/>
<icon src="resources/ios/icon/[email protected]" width="180" height="180"/>
<icon src="resources/ios/icon/icon-72.png" width="72" height="72"/>
<icon src="resources/ios/icon/[email protected]" width="144" height="144"/>
<icon src="resources/ios/icon/icon-76.png" width="76" height="76"/>
<icon src="resources/ios/icon/[email protected]" width="152" height="152"/>
<icon src="resources/ios/icon/[email protected]" width="167" height="167"/>
<icon src="resources/ios/icon/icon-small.png" width="29" height="29"/>
<icon src="resources/ios/icon/[email protected]" width="58" height="58"/>
<icon src="resources/ios/icon/[email protected]" width="87" height="87"/>
<splash src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" height="1136"/>
<splash src="resources/ios/splash/Default-667h.png" width="750" height="1334"/>
<splash src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" height="1536"/>
<splash src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" height="768"/>
<splash src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>
<splash src="resources/ios/splash/Default-Portrait~ipad.png" width="768" height="1024"/>
<splash src="resources/ios/splash/Default@2x~iphone.png" width="640" height="960"/>
<splash src="resources/ios/splash/Default~iphone.png" width="320" height="480"/>
<edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
<string>Easily track your diet using your phone's camera as a barcode scanner</string>
</edit-config>
<plugin name="cordova-plugin-firebase-crashlytics" spec="0.0.5">
<variable name="ANDROID_FIREBASE_CORE_VERSION" value="16.0.0" />
<variable name="ANDROID_FIREBASE_VERSION" value="11.8.0" />
</plugin>
</platform>
<preference name="AndroidXEnabled" value="true" />
<preference name="android-targetSdkVersion" value="26"/>
<preference name="QuantiModoClientId" value="QuantiModoClientId_PLACEHOLDER" />
<preference name="QuantiModoClientSecret" value="QuantiModoClientSecret_PLACEHOLDER" />
<preference name="android-minSdkVersion" value="19" />
<preference name="AutoHideSplashScreen" value="true" />
<preference name="BackupWebStorage" value="none" />
<preference name="deployment-target" value="7.0" />
<preference name="DisallowOverscroll" value="true" />
<preference name="FadeSplashScreen" value="false"/>
<preference name="loadUrlTimeoutValue" value="700000" /><!--Trying to fix Connection to the server was unsuccessful. (file ///android_asset/www/index.html)-->
<preference name="SplashScreen" value="screen"/>
<preference name="SplashScreenDelay" value="10000" />
<preference name="UIWebViewBounce" value="false" />
<preference name="webviewbounce" value="false" />
<preference name="windows-target-version" value="8.1"/>
<preference name="WindowsStoreDisplayName" value="YourAppDisplayNameHere"/>
<!--
<plugin name="cordova-android-support-gradle-release" spec="~1.1.2">
<variable name="ANDROID_SUPPORT_VERSION" value="26.+" />
</plugin>
-->
<!--
<plugin name="cordova-hot-code-push-plugin" spec="~1.5.3" />
<chcp>
<auto-download enabled="true" />
<auto-install enabled="true" />
</chcp>
-->
<plugin name="cordova-ios-plugin-no-export-compliance" spec="~0.0.5" />
<!--<plugin name="cordova-plugin-console" spec="~1.0.3"/>-->
<plugin name="cordova-plugin-datepicker" version="0.9.3"/>
<plugin name="cordova-plugin-device" spec="~1.1.2"/>
<plugin name="cordova-plugin-drawoverapps" spec="https://github.com/mikepsinn/cordova-plugin-drawoverapps#7e441915c3725a9ec70a2e04818b45f34ee4640f" />
<plugin name="cordova-plugin-inappbrowser" version="2.0.2"/>
<plugin name="cordova-plugin-inapppurchase" spec="~1.1.0" />
<plugin name="cordova-plugin-splashscreen" spec="~3.2.2"/>
<plugin name="cordova-plugin-statusbar" version="2.2.0"/>
<plugin name="cordova-plugin-whitelist" spec="~1.2.2"/>
<plugin name="cordova-plugin-x-socialsharing" spec="~5.2.1" />
<plugin name="de.appplant.cordova.plugin.local-notification" spec="https://github.com/katzer/cordova-plugin-local-notifications#53262c8242e9b932758d2086071865e27909204f" />
<plugin name="ionic-plugin-keyboard" version="2.2.1"/>
<plugin name="cordova-plugin-googleplus">
<variable name="REVERSED_CLIENT_ID" value="REVERSED_CLIENT_ID_PLACEHOLDER" />
</plugin>
<!-- <plugin name="cordova-plugin-mauron85-background-geolocation" spec="https://github.com/mauron85/cordova-plugin-background-geolocation#3514fcb737fc99489039df898cf79ade7c69baab">
<variable name="ALWAYS_USAGE_DESCRIPTION" value="This app allows optional background location tracking to see how time spent at restaurants, the gym, work or doctors offices might be affecting you." />
<variable name="GOOGLE_PLAY_SERVICES_VERSION" value="11+" />
</plugin> -->
<!-- <plugin name="phonegap-plugin-barcodescanner" spec="~6.0.8" >
<param name="CAMERA_USAGE_DESCRIPTION" value="Easily track your diet using your phone's camera as a barcode scanner" />
</plugin> -->
<!-- <plugin name="phonegap-plugin-push" version="1.10.5">
<variable name="SENDER_ID" value="1052648855194"/>
</plugin> -->
<!-- <plugin name="cordova-plugin-facebook4" version="1.7.4">
<variable name="APP_ID" value="225078261031461"/>
<variable name="APP_NAME" value="QuantiModo"/>
</plugin> -->
<plugin name="cordova-plugin-appsettings" spec="~1.0.2" />
<!--<plugin name="cordova-plugin-admob" spec="~3.2.4" />-->
<!-- <plugin name="cordova-plugin-enable-multidex" spec="~0.1.3" /> -->
<vs:platformSpecificValues xmlns:vs="http://schemas.microsoft.com/appx/2014/htmlapps">
<vs:platformSpecificWidget platformName="windows" version="IONIC_IOS_APP_VERSION_NUMBER_PLACEHOLDER" id="YourWindowsAppIdentifierHere" />
</vs:platformSpecificValues>
</widget>