fix(android): splash icon, close #4174
This commit is contained in:
parent
eedcf7bebc
commit
55e270a89d
|
|
@ -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 |
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue