Open eduardojmrosa opened 6 months ago
I made PR to fix this: #2941
For the deprecated Crosswalk WebView, the preference key "BackgroundColor" was wrongly set with "0". It would have to be set with "#000000", but this would also set the splashscreen backround color to black. So I had removed the preference.
Another way would be to add
<preference name="AndroidWindowSplashScreenBackground" value="#FFFFFF" />
in your config.xml
See: https://github.com/apache/cordova-android/issues/1714#issuecomment-2135731585
OS: (check one with "x")
cordova information: (run
$> cordova plugin list
) Cordova - 12 Android - 13Plugin list
cordova-plugin-camera 7.0.0 "Camera" cordova-plugin-contacts 3.0.1 "Contacts" cordova-plugin-device 2.1.0 "Device" cordova-plugin-file-transfer 2.0.0 "File Transfer" cordova-plugin-file 8.0.1 "File" cordova-plugin-firebase-analytics 8.0.0 "FirebaseAnalyticsPlugin" cordova-plugin-firebase-dynamiclinks 8.0.0 "FirebaseDynamicLinksPlugin" cordova-plugin-firebase-messaging 8.0.1 "FirebaseMessagingPlugin" cordova-plugin-keyboard 1.2.0 "Keyboard" cordova-plugin-nativegeocoder 3.5.1 "NativeGeocoder" cordova-plugin-x-socialsharing 6.0.4 "SocialSharing" cordova-sqlite-storage 6.1.0 "Cordova SQLite storage plugin - cordova-sqlite-storage plugin version" cordova-support-android-plugin 2.0.4 "cordova-support-android-plugin" cordova.plugins.diagnostic 7.1.4 "Diagnostic" es6-promise-plugin 4.2.2 "Promise" ###################################################
Current behavior: Installing the plugin into Android 13 version using only cordova in a angular app causes this error:
C:\Users\eduar.gradle\caches\transforms-4\01bf680c3083cc7cc00592872a745a49\transformed\jetified-play-services-base-18.0.1\res\values\values.xml:4:0: Invalid for given resource value.
Expected behavior: Supposed to run a npx cordova run android and it builds sucessfully, with version 12 it works well.
Screen capture or video record: