Skip to content

Commit

Permalink
update splash config
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge committed Nov 23, 2024
1 parent 2c0fa8c commit 1784609
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions apps/expo/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "automatic",
splash: {
image: "./assets/icon.png",
resizeMode: "contain",
backgroundColor: "#1F104A",
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
ios: {
bundleIdentifier: "your.bundle.identifier",
supportsTablet: true,
icon: {
light: "./assets/icon.png",
dark: "./assets/icon.png",
// tinted: "",
},
},
android: {
package: "your.bundle.identifier",
Expand All @@ -38,5 +38,19 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
tsconfigPaths: true,
typedRoutes: true,
},
plugins: ["expo-router", "expo-secure-store"],
plugins: [
"expo-router",
"expo-secure-store",
[
"expo-splash-screen",
{
backgroundColor: "#1F104A",
image: "./assets/icon.png",
// dark: {
// backgroundColor: "#1F104A",
// image: "./assets/icon.png",
// },
},
],
],
});

0 comments on commit 1784609

Please sign in to comment.