diff options
author | Mathieu Acthernoene <zoontek@gmail.com> | 2025-04-22 18:16:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-22 19:16:50 +0300 |
commit | a770f5635b549f2a87ffeaedd031dfe8e37b58c8 (patch) | |
tree | 2e935d294227e57b2e81ba79ba96a6a85f268971 /app.config.js | |
parent | 6e80b340c825900524bfe981ba29cfd0c6cf5934 (diff) | |
download | voidsky-a770f5635b549f2a87ffeaedd031dfe8e37b58c8.tar.zst |
Edge to edge support (#7497)
Diffstat (limited to 'app.config.js')
-rw-r--r-- | app.config.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app.config.js b/app.config.js index 7b4937d3b..e197e6770 100644 --- a/app.config.js +++ b/app.config.js @@ -1,7 +1,5 @@ const pkg = require('./package.json') -const DARK_SPLASH_ANDROID_BACKGROUND = '#0f141b' - module.exports = function (config) { /** * App version number. Should be incremented as part of a release cycle. @@ -140,12 +138,10 @@ module.exports = function (config) { }, androidStatusBar: { barStyle: 'light-content', - backgroundColor: '#00000000', }, // Dark nav bar in light mode is better than light nav bar in dark mode androidNavigationBar: { barStyle: 'light-content', - backgroundColor: DARK_SPLASH_ANDROID_BACKGROUND, }, android: { icon: './assets/app-icons/android_icon_default_light.png', @@ -197,6 +193,10 @@ module.exports = function (config) { plugins: [ 'expo-video', 'expo-localization', + [ + 'react-native-edge-to-edge', + {android: {enforceNavigationBarContrast: false}}, + ], USE_SENTRY && [ '@sentry/react-native/expo', { @@ -240,7 +240,7 @@ module.exports = function (config) { './plugins/withAndroidManifestPlugin.js', './plugins/withAndroidManifestFCMIconPlugin.js', './plugins/withAndroidStylesAccentColorPlugin.js', - './plugins/withAndroidSplashScreenStatusBarTranslucentPlugin.js', + './plugins/withAndroidDayNightThemePlugin.js', './plugins/withAndroidNoJitpackPlugin.js', './plugins/withNoBundleCompression.js', './plugins/shareExtension/withShareExtensions.js', |