fix(android): splash icon, close #4174

This commit is contained in:
Stephen Zhou 2025-07-15 14:43:45 +08:00
parent eedcf7bebc
commit 55e270a89d
No known key found for this signature in database
3 changed files with 2 additions and 23 deletions

View File

@ -13,6 +13,7 @@ const iconPathMap = {
const iconPath = iconPathMap[process.env.PROFILE || "production"] || iconPathMap.production
const adaptiveIconPath = resolve(__dirname, "./assets/adaptive-icon.png")
const splashIconPath = resolve(__dirname, "./assets/splash-icon.png")
const isDev = process.env.NODE_ENV === "development"
@ -86,12 +87,8 @@ export default ({ config }: ConfigContext): ExpoConfig => {
[
"expo-splash-screen",
{
backgroundColor: "#ffffff",
dark: {
backgroundColor: "#000000",
},
android: {
image: iconPath,
image: splashIconPath,
imageWidth: 200,
},
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -11,24 +11,6 @@
"color-space": "srgb"
},
"idiom": "universal"
},
{
"color": {
"components": {
"alpha": "1.000",
"blue": "0.00000000000000",
"green": "0.00000000000000",
"red": "0.00000000000000"
},
"color-space": "srgb"
},
"idiom": "universal",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
}
],
"info": {