Skip to content

Commit 55e270a

Browse files
committed
fix(android): splash icon, close #4174
1 parent eedcf7b commit 55e270a

3 files changed

Lines changed: 2 additions & 23 deletions

File tree

apps/mobile/app.config.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const iconPathMap = {
1313
const iconPath = iconPathMap[process.env.PROFILE || "production"] || iconPathMap.production
1414

1515
const adaptiveIconPath = resolve(__dirname, "./assets/adaptive-icon.png")
16+
const splashIconPath = resolve(__dirname, "./assets/splash-icon.png")
1617

1718
const isDev = process.env.NODE_ENV === "development"
1819

@@ -86,12 +87,8 @@ export default ({ config }: ConfigContext): ExpoConfig => {
8687
[
8788
"expo-splash-screen",
8889
{
89-
backgroundColor: "#ffffff",
90-
dark: {
91-
backgroundColor: "#000000",
92-
},
9390
android: {
94-
image: iconPath,
91+
image: splashIconPath,
9592
imageWidth: 200,
9693
},
9794
},

apps/mobile/assets/splash-icon.png

13.6 KB
Loading

apps/mobile/ios/Folo/Images.xcassets/SplashScreenBackground.colorset/Contents.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,6 @@
1111
"color-space": "srgb"
1212
},
1313
"idiom": "universal"
14-
},
15-
{
16-
"color": {
17-
"components": {
18-
"alpha": "1.000",
19-
"blue": "0.00000000000000",
20-
"green": "0.00000000000000",
21-
"red": "0.00000000000000"
22-
},
23-
"color-space": "srgb"
24-
},
25-
"idiom": "universal",
26-
"appearances": [
27-
{
28-
"appearance": "luminosity",
29-
"value": "dark"
30-
}
31-
]
3214
}
3315
],
3416
"info": {

0 commit comments

Comments
 (0)