apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 986 forks source link

feat: SplashScreen Background Color preference support #1411

Closed dpogue closed 1 month ago

dpogue commented 1 month ago

Platforms affected

iOS

Motivation and Context

Closes #1254.

Description

Support a SplashScreenBackgroundColor preference that sets the background colour of the splash screen via xcassets.

If no SplashScreenBackgroundColor is provided, it will fall back to the BackgroundColor (i.e., the current behaviour). If neither are specified, it will fallback to the system background colour (also current behaviour).

Testing

Checklist

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 52.94118% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 78.37%. Comparing base (1974dbb) to head (a9da7e2).

Files Patch % Lines
lib/prepare.js 52.94% 8 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1411 +/- ## ========================================== - Coverage 78.50% 78.37% -0.13% ========================================== Files 16 16 Lines 1814 1827 +13 ========================================== + Hits 1424 1432 +8 - Misses 390 395 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

dpogue commented 1 month ago

Docs PR: https://github.com/apache/cordova-docs/pull/1348