hejercherbib commented on issue #1582:
URL:
https://github.com/apache/cordova-android/issues/1582#issuecomment-1492028287
Thank you for your reply, here is my generated theme (in platform):
What's a litle bit confusing is that the same version with debug apk works
normally,
Here is the theme.xml file (generated in platform):
`<?xml version="1.0" encoding="utf-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<resources>
<style name="Theme.App.SplashScreen"
parent="Theme.SplashScreen.IconBackground">
<!-- Optional: Set the splash screen background. (Default: #FFFFFF) -->
<item
name="windowSplashScreenBackground">@color/cdv_splashscreen_background</item>
<!-- Required: Add either a drawable or an animated drawable -->
<item
name="windowSplashScreenAnimatedIcon">@drawable/ic_cdv_splashscreen</item>
<!-- Required: For animated icons -->
<item name="windowSplashScreenAnimationDuration">200</item>
<!-- Required: Set the theme of the Activity that directly follows
your splash screen. -->
<item
name="postSplashScreenTheme">@style/Theme.AppCompat.NoActionBar</item>
</style>
</resources>`
And here is my config.xml :
`<preference name="SplashScreen" value="screen"/>
<preference name="AutoHideSplashScreen" value="false"/>
<preference name="SplashScreenDelay" value="3600000"/>
<preference name="FadeSplashScreen" value="false"/>
<preference name="Orientation" value="portrait"/>
<preference name="android-minSdkVersion" value="21"/>
<preference name="android-targetSdkVersion" value="32"/>
<preference name="ShowTitle" value="False"/>
<preference name="target-device" value="handset"/>
<preference name="deployment-target" value="9"/>
<preference name="BackupWebStorage" value="none"/>
<preference name="SuppressesIncrementalRendering" value="True"/>
<preference name="HideKeyboardFormAccessoryBar" value="True"/>
<preference name="KeepRunning" value="True"/>
<preference name="InAppBrowserStorageEnabled" value="True"/>
<preference name="AndroidPersistentFileLocation" value="Internal"/>
<preference name="iosPersistentFileLocation" value="Library"/>
<preference name="AndroidLaunchMode" value="singleTop"/>
<preference name="android-build-tool" value="ant"/>
<preference name="xwalkZOrderOnTop" value="false"/>
<preference name="CrosswalkAnimatable" value="true"/>
<preference name="StatusBarOverlaysWebView" value="true"/>
<preference name="StatusBarStyle" value="lightcontent"/>
<preference name="StatusBarBackgroundColor" value="#000000"/>
<preference name="AndroidInsecureFileModeEnabled" value="true"/>
<preference name="AndroidPersistentFileLocation" value="Compatibility"/>
<allow-intent href="http://*/*"/>
<allow-intent href="https://*/*"/>
<allow-intent href="tel:*"/>
<access origin="*"/>
<allow-navigation href="http://*/*"/>
<allow-navigation href="https://*/*"/>
<hook src="local-hooks/android/6.4.0/copy-res.js" type="before_prepare"/>
<hook src="local-hooks/android/6.4.0/androidWindowSoftInputMode.js"
type="before_prepare"/>
<hook src="local-hooks/android/10/copy_apks_after_build.js"
type="after_build"/>
<hook src="local-hooks/android/6.4.0/set_allowBackup.js"
type="after_prepare" />
<platform name="android">
<icon density="ldpi" src="res/icons/android/icon-36-ldpi.png"/>
<icon density="mdpi" src="res/icons/android/icon-48-mdpi.png"/>
<icon density="hdpi" src="res/icons/android/icon-72-hdpi.png"/>
<icon density="xhdpi" src="res/icons/android/icon-96-xhdpi.png"/>
<icon src="res/icons/android/icon-96-xhdpi.png" />
</platform>
<custom-preference
name="android-manifest/application/@android:usesCleartextTraffic" value="true"/>
<platform name="ios">
<icon height="180" src="res/icons/ios/icon-60-3x.png" width="180"/>
<icon height="60" src="res/icons/ios/icon-60.png" width="60"/>
<icon height="120" src="res/icons/ios/icon-60-2x.png" width="120"/>
<icon height="76" src="res/icons/ios/icon-76.png" width="76"/>
<icon height="152" src="res/icons/ios/icon-76-2x.png" width="152"/>
<icon height="40" src="res/icons/ios/icon-40.png" width="40"/>
<icon height="80" src="res/icons/ios/icon-40-2x.png" width="80"/>
<icon height="57" src="res/icons/ios/icon-57.png" width="57"/>
<icon height="114" src="res/icons/ios/icon-57-2x.png" width="114"/>
<icon height="72" src="res/icons/ios/icon-72.png" width="72"/>
<icon height="144" src="res/icons/ios/icon-72-2x.png" width="144"/>
<icon height="29" src="res/icons/ios/icon-small.png" width="29"/>
<icon height="58" src="res/icons/ios/icon-small-2x.png" width="58"/>
<icon height="50" src="res/icons/ios/icon-50.png" width="50"/>
<icon height="100" src="res/icons/ios/icon-50-2x.png" width="100"/>
</platform>
<platform name="android">
<preference name="AndroidWindowSplashScreenAnimatedIcon"
value="res/drawable/ic_logo_pickup.xml" />
<preference name="AndroidWindowSplashScreenBackground"
value="#DC0032" />
</platform>
<plugin name="cordova-plugin-device"
src="local-plugins\cordova-plugin-device-2.0.3" version="2.0.3"/>
<plugin name="cordova-plugin-file" spec="6.0.2"/>
<plugin name="cordova-plugin-network-information" version="1.2.0"/>
<plugin name="cordova-plugin-zip"
src="https://github.com/MobileChromeApps/zip.git" version="3.1.0"/>
<plugin name="cordova-plugin-inappbrowser" version="1.3.0"/>
<plugin name="cordova-plugin-statusbar" version="2.1.2"/>
<plugin name="cordova-plugin-app-event" version="1.2.0"/>
<plugin name="cordova-plugin-dialogs" version="1.2.0"/>
<plugin name="cordova-plugin-vs-taco-support" version="0.2.3"/>
<plugin name="org.apache.cordova.home"
src="https://github.com/ZhichengChen/cordova-plugin-android-home"
version="0.2.6"/>
<plugin name="cordova-plugin-compat" version="1.2.0"/>
<plugin name="cordova-plugin-fullscreen"
src="https://github.com/mesmotronic/cordova-plugin-fullscreen.git"
version="1.1.0"/>
<plugin name="cordova-pssa-plugin-device-extra-infos"
src=".\local-plugins\cordova-pssa-plugin-device-extra-infos" version="1.0.0"/>
<plugin name="cordova-pssa-plugin-application"
src=".\local-plugins\cordova-pssa-plugin-application" version="1.0.0"/>
<plugin name="cordova-pssa-plugin-keyboard-height"
src=".\local-plugins\cordova-pssa-plugin-keyboard-height" version="1.0.0"/>
<plugin name="com.mirasense.scanditsdk.plugin"
src=".\local-plugins\scandit-barcodescanner-phonegap_5.4.0" version="5.4.0"/>
<plugin name="cordova-plugin-battery-status" version="1.2.0"/>
<plugin name="cordova-pssa-plugin-athesi-barcodescanner"
src=".\local-plugins\cordova-pssa-plugin-athesi-barcodescanner"
version="2.5.0"/>
<plugin name="cordova-pssa-plugin-mdmservice"
src=".\local-plugins\cordova-pssa-plugin-mdmservice" version="1.1.1"/>
<plugin name="com-darryncampbell-cordova-plugin-intent"
src=".\local-plugins\com-darryncampbell-cordova-plugin-intent" version="1.1.1"/>
<plugin name="cordova-plugin-awesome-shared-preferences"
version="0.1.0"/>
<plugin name="cordova-plugin-bluetoothle" version="6.7.0"/>
<plugin name="it.zenitlab.cordova.plugins.zbtprinter"
src=".\local-plugins\it.zenitlab.cordova.plugins.zbtprinter" version="1.0"/>
<plugin name="cordova-plugin-app-version" version="0.1.9"/>
<plugin name="cordova-plugin-appavailability" version="0.4.2"/>
<plugin name="cordova-plugin-file-transfer"
src=".\local-plugins\cordova-plugin-file-transfer"/>
<plugin name="cordova-plugin-keyboard"
src=".\local-plugins\cordova-plugin-keyboard" version="1.2.0"/>
<plugin name="cordova-pssa-plugin-applauncher"
src=".\local-plugins\cordova-pssa-plugin-applauncher" version="0.1.0"/>
<plugin name="cordova-pssa-plugin-files-manager"
src=".\local-plugins\cordova-pssa-plugin-files-manager" version="1.0.0"/>
<plugin name="cordova-pssa-plugin-cze-payment"
src=".\local-plugins\cordova-pssa-plugin-cze-payment" version="1.0.0"/>
<plugin name="cordova-pssa-plugin-zebra-scan"
src=".\local-plugins\cordova-pssa-plugin-zebra-scan" version="1.0.0"/>
</widget>`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]