Skip to content

Commit

Permalink
Revert "splash screen fix"
Browse files Browse the repository at this point in the history
This reverts commit 03d818f.
  • Loading branch information
namrataukirde committed Mar 6, 2019
1 parent 9740a5e commit fb005f3
Showing 1 changed file with 107 additions and 108 deletions.
215 changes: 107 additions & 108 deletions cordova/config.xml
Original file line number Diff line number Diff line change
@@ -1,110 +1,109 @@
<?xml version='1.0' encoding='utf-8'?>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget android-versionCode="1" id="hk.goodcity.appstaging" ios-CFBundleVersion="0" version="0.15.9" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>S. GoodCity</name>
<description>The GoodCity initiative is a new way to donate quality goods in Hong Kong. See www.goodcity.hk for more details.</description>
<author href="https://www.crossroads.org.hk">Crossroads</author>
<icon src="www/assets/images/goodcity-icon-128.png" />
<content src="index.html" />
<hook src="scripts/update_build_number.py" type="before_prepare" />
<platform name="android">
<hook src="scripts/copyAndroidAssets.js" type="after_prepare" />
<resource-file src="google-services.json" target="google-services.json" />
<preference name="LoadUrlTimeoutValue" value="120000" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="5000" />
<preference name="Orientation" value="portrait" />
<preference name="SplashMaintainAspectRatio" value="true" />
<icon density="ldpi" src="res/android/drawable-ldpi/icon.png" />
<icon density="mdpi" src="res/android/drawable-mdpi/icon.png" />
<icon density="hdpi" src="res/android/drawable-hdpi/icon.png" />
<icon density="xhdpi" src="res/android/drawable-xhdpi/icon.png" />
<icon density="xxhdpi" src="res/android/drawable-xxhdpi/icon.png" />
<icon density="xxxhdpi" src="res/android/drawable-xxxhdpi/icon.png" />
<splash density="port-ldpi" src="res/android/drawable-ldpi/screen.png" />
<splash density="port-mdpi" src="res/android/drawable-mdpi/screen.png" />
<splash density="port-hdpi" src="res/android/drawable-hdpi/screen.png" />
<splash density="port-xhdpi" src="res/android/drawable-xhdpi/screen.png" />
<splash density="port-xxhdpi" src="res/android/drawable-xxhdpi/screen.png" />
<splash density="port-xxxhdpi" src="res/android/drawable-xxxhdpi/screen.png" />
</platform>
<platform name="windows">
<hook src="hooks/windows/include.bat" type="after_platform_add" />
</platform>
<platform name="ios">
<icon height="16" src="res/ios/[email protected]" width="16" />
<icon height="32" src="res/ios/[email protected]" width="32" />
<icon height="48" src="res/ios/[email protected]" width="48" />
<icon height="20" src="res/ios/[email protected]" width="20" />
<icon height="40" src="res/ios/[email protected]" width="40" />
<icon height="60" src="res/ios/[email protected]" width="60" />
<icon height="29" src="res/ios/Icon-29.png" width="29" />
<icon height="48" src="res/ios/Icon-48.png" width="48" />
<icon height="50" src="res/ios/Icon-50.png" width="50" />
<icon height="55" src="res/ios/Icon-55.png" width="55" />
<icon height="57" src="res/ios/Icon-57.png" width="57" />
<icon height="58" src="res/ios/Icon-58.png" width="58" />
<icon height="64" src="res/ios/Icon-64.png" width="64" />
<icon height="72" src="res/ios/Icon-72.png" width="72" />
<icon height="76" src="res/ios/Icon-76.png" width="76" />
<icon height="80" src="res/ios/Icon-80.png" width="80" />
<icon height="87" src="res/ios/Icon-87.png" width="87" />
<icon height="88" src="res/ios/Icon-88.png" width="88" />
<icon height="100" src="res/ios/Icon-100.png" width="100" />
<icon height="114" src="res/ios/Icon-114.png" width="114" />
<icon height="120" src="res/ios/Icon-120.png" width="120" />
<icon height="128" src="res/ios/Icon-128.png" width="128" />
<icon height="144" src="res/ios/Icon-144.png" width="144" />
<icon height="152" src="res/ios/Icon-152.png" width="152" />
<icon height="167" src="res/ios/Icon-167.png" width="167" />
<icon height="172" src="res/ios/Icon-172.png" width="172" />
<icon height="180" src="res/ios/Icon-180.png" width="180" />
<icon height="196" src="res/ios/Icon-196.png" width="196" />
<icon height="256" src="res/ios/Icon-256.png" width="256" />
<icon height="512" src="res/ios/Icon-512.png" width="512" />
<icon height="1024" src="res/ios/Icon-1024.png" width="1024" />
<splash src="res/screen/ios/Default@2x~universal~anyany.png" />
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar" />
</feature>
<preference name="Orientation" value="portrait" />
<preference name="Fullscreen" value="true" />
<preference default=" " name="CAMERA_USAGE_DESCRIPTION" />
<config-file parent="NSCameraUsageDescription" target="*-Info.plist">
<string>So you can photograph items for donation.</string>
</config-file>
<preference default=" " name="PHOTOLIBRARY_USAGE_DESCRIPTION" />
<config-file parent="NSPhotoLibraryUsageDescription" target="*-Info.plist">
<string>Needs photo library access to get photos from there</string>
</config-file>
<preference default=" " name="PHOTOLIBRARY_ADD_USAGE_DESCRIPTION" />
<config-file parent="NSPhotoLibraryAddUsageDescription" target="*-Info.plist">
<string>Needs photo library access to save photos</string>
</config-file>
</platform>
<access origin="*" />
<allow-intent href="https://maps.google.com/*" />
<allow-intent href="https://www.crossroads.org.hk/*" />
<allow-intent href="http://www.globalhand.org/*" />
<allow-intent href="http://crossroads.uservoice.com/*" />
<allow-intent href="https://crossroads.uservoice.com/*" />
<allow-intent href="https://checkout.paypal.com/*" />
<plugin name="cordova-plugin-statusbar" spec="~2.1.1" />
<plugin name="cordova-plugin-device" spec="~1.1.1" />
<plugin name="cordova-plugin-whitelist" spec="~1.2.1" />
<plugin name="cordova-plugin-inappbrowser" spec="~1.2.1" />
<plugin name="cordova-plugin-network-information" spec="~1.2.0" />
<plugin name="cordova-plugin-camera" spec="~2.4.1" />
<plugin name="cordova-plugin-actionsheet" spec="https://github.com/EddyVerbruggen/cordova-plugin-actionsheet.git" />
<plugin name="cordova-plugin-splashscreen" spec="~4.1.0" />
<plugin name="com.nrswolf.cordova.push-notifications-status" spec="https://github.com/nrswolf/cordova-plugin-push-notifications-status.git" />
<plugin name="cordova-plugin-ios-no-export-compliance" spec="https://github.com/mikaoelitiana/cordova-plugin-ios-no-export-compliance.git" />
<plugin name="com.phonegap.plugins.nativesettingsopener" spec="https://github.com/crossroads/Cordova-open-native-settings.git" />
<plugin name="cordova-launch-review" spec="1.0.3" />
<plugin name="cordova-plugin-apprate" spec="https://github.com/crossroads/cordova-plugin-apprate.git" />
<plugin name="cordova-plugin-globalization" spec="https://github.com/apache/cordova-plugin-globalization.git" />
<plugin name="cordova-plugin-inappbrowser" spec="https://github.com/apache/cordova-plugin-inappbrowser.git" />
<plugin name="cordova-plugin-dialogs" spec="https://github.com/apache/cordova-plugin-dialogs.git" />
<engine name="ios" spec="https://github.com/apache/cordova-ios.git#4.5.5" />
<engine name="android" spec="~6.3.0" />
<engine name="windows" spec="~4.3.1" />
<name>S. GoodCity</name>
<description>The GoodCity initiative is a new way to donate quality goods in Hong Kong. See www.goodcity.hk for more details.</description>
<author href="https://www.crossroads.org.hk">Crossroads</author>
<icon src="www/assets/images/goodcity-icon-128.png"/>
<content src="index.html"/>
<hook src="scripts/update_build_number.py" type="before_prepare" />
<platform name="android">
<hook type="after_prepare" src="scripts/copyAndroidAssets.js"/>
<resource-file src="google-services.json" target="google-services.json" />
<preference name="LoadUrlTimeoutValue" value="120000"/>
<preference name="SplashScreen" value="screen"/>
<preference name="SplashScreenDelay" value="5000"/>
<preference name="Orientation" value="portrait"/>
<icon src="res/android/drawable-ldpi/icon.png" density="ldpi"/>
<icon src="res/android/drawable-mdpi/icon.png" density="mdpi"/>
<icon src="res/android/drawable-hdpi/icon.png" density="hdpi"/>
<icon src="res/android/drawable-xhdpi/icon.png" density="xhdpi"/>
<icon src="res/android/drawable-xxhdpi/icon.png" density="xxhdpi"/>
<icon src="res/android/drawable-xxxhdpi/icon.png" density="xxxhdpi"/>
<splash src="res/android/drawable-ldpi/screen.png" density="port-ldpi"/>
<splash src="res/android/drawable-mdpi/screen.png" density="port-mdpi"/>
<splash src="res/android/drawable-hdpi/screen.png" density="port-hdpi"/>
<splash src="res/android/drawable-xhdpi/screen.png" density="port-xhdpi"/>
<splash src="res/android/drawable-xxhdpi/screen.png" density="port-xxhdpi"/>
<splash src="res/android/drawable-xxxhdpi/screen.png" density="port-xxxhdpi"/>
</platform>
<platform name="windows">
<hook type="after_platform_add" src="hooks/windows/include.bat"/>
</platform>
<platform name="ios">
<icon height="16" src="res/ios/[email protected]" width="16" />
<icon height="32" src="res/ios/[email protected]" width="32" />
<icon height="48" src="res/ios/[email protected]" width="48" />
<icon height="20" src="res/ios/[email protected]" width="20" />
<icon height="40" src="res/ios/[email protected]" width="40" />
<icon height="60" src="res/ios/[email protected]" width="60" />
<icon height="29" src="res/ios/Icon-29.png" width="29" />
<icon height="48" src="res/ios/Icon-48.png" width="48" />
<icon height="50" src="res/ios/Icon-50.png" width="50" />
<icon height="55" src="res/ios/Icon-55.png" width="55" />
<icon height="57" src="res/ios/Icon-57.png" width="57" />
<icon height="58" src="res/ios/Icon-58.png" width="58" />
<icon height="64" src="res/ios/Icon-64.png" width="64" />
<icon height="72" src="res/ios/Icon-72.png" width="72" />
<icon height="76" src="res/ios/Icon-76.png" width="76" />
<icon height="80" src="res/ios/Icon-80.png" width="80" />
<icon height="87" src="res/ios/Icon-87.png" width="87" />
<icon height="88" src="res/ios/Icon-88.png" width="88" />
<icon height="100" src="res/ios/Icon-100.png" width="100" />
<icon height="114" src="res/ios/Icon-114.png" width="114" />
<icon height="120" src="res/ios/Icon-120.png" width="120" />
<icon height="128" src="res/ios/Icon-128.png" width="128" />
<icon height="144" src="res/ios/Icon-144.png" width="144" />
<icon height="152" src="res/ios/Icon-152.png" width="152" />
<icon height="167" src="res/ios/Icon-167.png" width="167" />
<icon height="172" src="res/ios/Icon-172.png" width="172" />
<icon height="180" src="res/ios/Icon-180.png" width="180" />
<icon height="196" src="res/ios/Icon-196.png" width="196" />
<icon height="256" src="res/ios/Icon-256.png" width="256" />
<icon height="512" src="res/ios/Icon-512.png" width="512" />
<icon height="1024" src="res/ios/Icon-1024.png" width="1024" />
<splash src="res/screen/ios/Default@2x~universal~anyany.png"/>
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar"/>
</feature>
<preference name="Orientation" value="portrait"/>
<preference name="Fullscreen" value="true"/>
<preference name="CAMERA_USAGE_DESCRIPTION" default=" " />
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>So you can photograph items for donation.</string>
</config-file>
<preference name="PHOTOLIBRARY_USAGE_DESCRIPTION" default=" " />
<config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
<string>Needs photo library access to get photos from there</string>
</config-file>
<preference name="PHOTOLIBRARY_ADD_USAGE_DESCRIPTION" default=" " />
<config-file target="*-Info.plist" parent="NSPhotoLibraryAddUsageDescription">
<string>Needs photo library access to save photos</string>
</config-file>
</platform>
<access origin="*"/>
<allow-intent href="https://maps.google.com/*"/>
<allow-intent href="https://www.crossroads.org.hk/*"/>
<allow-intent href="http://www.globalhand.org/*"/>
<allow-intent href="http://crossroads.uservoice.com/*"/>
<allow-intent href="https://crossroads.uservoice.com/*"/>
<allow-intent href="https://checkout.paypal.com/*"/>
<engine name="ios" spec="https://github.com/apache/cordova-ios.git#4.5.5" />
<engine name="android" spec="~6.3.0"/>
<engine name="windows" spec="~4.3.1"/>
<plugin name="cordova-plugin-statusbar" spec="~2.1.1"/>
<plugin name="cordova-plugin-device" spec="~1.1.1"/>
<plugin name="cordova-plugin-whitelist" spec="~1.2.1"/>
<plugin name="cordova-plugin-inappbrowser" spec="~1.2.1"/>
<plugin name="cordova-plugin-network-information" spec="~1.2.0"/>
<plugin name="cordova-plugin-camera" spec="~2.4.1" />
<plugin name="cordova-plugin-actionsheet" spec="https://github.com/EddyVerbruggen/cordova-plugin-actionsheet.git"/>
<plugin name="cordova-plugin-splashscreen" spec="~4.1.0"/>
<plugin name="com.nrswolf.cordova.push-notifications-status" spec="https://github.com/nrswolf/cordova-plugin-push-notifications-status.git"/>
<plugin name="cordova-plugin-ios-no-export-compliance" spec="https://github.com/mikaoelitiana/cordova-plugin-ios-no-export-compliance.git" />
<plugin name="com.phonegap.plugins.nativesettingsopener" spec="https://github.com/crossroads/Cordova-open-native-settings.git" />
<plugin name="cordova-launch-review" spec="1.0.3" />
<plugin name="cordova-plugin-apprate" spec="https://github.com/crossroads/cordova-plugin-apprate.git"/>
<plugin name="cordova-plugin-globalization" spec="https://github.com/apache/cordova-plugin-globalization.git"/>
<plugin name="cordova-plugin-inappbrowser" spec="https://github.com/apache/cordova-plugin-inappbrowser.git"/>
<plugin name="cordova-plugin-dialogs" spec="https://github.com/apache/cordova-plugin-dialogs.git"/>
</widget>

0 comments on commit fb005f3

Please sign in to comment.