fix splash

This commit is contained in:
Hailey
2024-12-02 12:24:48 -08:00
parent d04654dbaf
commit 9d053931ff
3 changed files with 18 additions and 16 deletions
+13 -11
View File
@@ -73,8 +73,6 @@ module.exports = function (config) {
orientation: 'portrait', orientation: 'portrait',
icon: './assets/app-icons/ios_icon_default_light.png', icon: './assets/app-icons/ios_icon_default_light.png',
userInterfaceStyle: 'automatic', userInterfaceStyle: 'automatic',
splash: SPLASH_CONFIG,
// hsl(211, 99%, 53%), same as palette.default.brandText
primaryColor: '#1083fe', primaryColor: '#1083fe',
ios: { ios: {
supportsTablet: false, supportsTablet: false,
@@ -119,10 +117,6 @@ module.exports = function (config) {
], ],
}, },
associatedDomains: ASSOCIATED_DOMAINS, associatedDomains: ASSOCIATED_DOMAINS,
splash: {
...SPLASH_CONFIG,
dark: DARK_SPLASH_CONFIG,
},
entitlements: { entitlements: {
'com.apple.developer.kernel.increased-memory-limit': true, 'com.apple.developer.kernel.increased-memory-limit': true,
'com.apple.developer.kernel.extended-virtual-addressing': true, 'com.apple.developer.kernel.extended-virtual-addressing': true,
@@ -188,10 +182,6 @@ module.exports = function (config) {
category: ['BROWSABLE', 'DEFAULT'], category: ['BROWSABLE', 'DEFAULT'],
}, },
], ],
splash: {
...SPLASH_CONFIG_ANDROID,
dark: DARK_SPLASH_CONFIG_ANDROID,
},
}, },
web: { web: {
favicon: './assets/favicon.png', favicon: './assets/favicon.png',
@@ -250,7 +240,7 @@ module.exports = function (config) {
'./plugins/starterPackAppClipExtension/withStarterPackAppClip.js', './plugins/starterPackAppClipExtension/withStarterPackAppClip.js',
'./plugins/withAndroidManifestPlugin.js', './plugins/withAndroidManifestPlugin.js',
'./plugins/withAndroidManifestFCMIconPlugin.js', './plugins/withAndroidManifestFCMIconPlugin.js',
'./plugins/withAndroidStylesWindowBackgroundPlugin.js', // './plugins/withAndroidStylesWindowBackgroundPlugin.js',
'./plugins/withAndroidStylesAccentColorPlugin.js', './plugins/withAndroidStylesAccentColorPlugin.js',
'./plugins/withAndroidSplashScreenStatusBarTranslucentPlugin.js', './plugins/withAndroidSplashScreenStatusBarTranslucentPlugin.js',
'./plugins/shareExtension/withShareExtensions.js', './plugins/shareExtension/withShareExtensions.js',
@@ -272,6 +262,18 @@ module.exports = function (config) {
], ],
}, },
], ],
[
'expo-splash-screen',
PLATFORM === 'ios'
? {
...SPLASH_CONFIG,
dark: DARK_SPLASH_CONFIG,
}
: {
...SPLASH_CONFIG_ANDROID,
dark: DARK_SPLASH_CONFIG_ANDROID,
},
],
[ [
'@mozzius/expo-dynamic-app-icon', '@mozzius/expo-dynamic-app-icon',
{ {
+1 -1
View File
@@ -80,7 +80,7 @@
"@radix-ui/react-focus-guards": "^1.1.1", "@radix-ui/react-focus-guards": "^1.1.1",
"@radix-ui/react-focus-scope": "^1.1.0", "@radix-ui/react-focus-scope": "^1.1.0",
"@react-native-async-storage/async-storage": "1.23.1", "@react-native-async-storage/async-storage": "1.23.1",
"@react-native-menu/menu": "^1.1.0", "@react-native-menu/menu": "^1.1.7",
"@react-native-picker/picker": "2.10.1", "@react-native-picker/picker": "2.10.1",
"@react-navigation/bottom-tabs": "^6.5.20", "@react-navigation/bottom-tabs": "^6.5.20",
"@react-navigation/drawer": "^6.6.15", "@react-navigation/drawer": "^6.6.15",
+4 -4
View File
@@ -5553,10 +5553,10 @@
dependencies: dependencies:
merge-options "^3.0.4" merge-options "^3.0.4"
"@react-native-menu/menu@^1.1.0": "@react-native-menu/menu@^1.1.7":
version "1.1.0" version "1.1.7"
resolved "https://registry.yarnpkg.com/@react-native-menu/menu/-/menu-1.1.0.tgz#e89c0850f7e5aa4c671c44a9c10edafadb23c35a" resolved "https://registry.yarnpkg.com/@react-native-menu/menu/-/menu-1.1.7.tgz#47c345038951712fd61f2bbb7d591c181c7e9742"
integrity sha512-vf9zp0M4nbAFnSKz5NJYKUPM5UzXWmLyGcjtuPaKWYxxloz9C0Pp6XdZRJnoOSlfRShE8NksX3bVY8W4wGnlCQ== integrity sha512-TPu2iNrSK1Davw5BPhwzcSfMAI9NFggiISOgdlaeymA6L7aAjUGpsEaFVX+ZaHml/YtZUuC8U0zUJJc2/3VYAA==
"@react-native-picker/picker@2.10.1": "@react-native-picker/picker@2.10.1":
version "2.10.1" version "2.10.1"