Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/@expo/prebuild-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

### 🐛 Bug fixes

- Fixed `STATUS_BAR_PLUGIN` deprecation warning shown on prebuild for default `create-expo-app` template by no longer auto-populating `androidStatusBar.backgroundColor` from the splash background color. ([#43444](https://github.com/expo/expo/issues/43444)) ([#43453](https://github.com/expo/expo/pull/43453) by [@zoontek](https://github.com/zoontek))

### 💡 Others

## 55.0.7 — 2026-02-25
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -1025,13 +1025,6 @@ exports[`built-in plugins introspects mods 1`] = `
},
"_": "contain",
},
{
"$": {
"name": "expo_splash_screen_status_bar_translucent",
"translatable": "false",
},
"_": "true",
},
{
"$": {
"name": "expo_runtime_version",
Expand Down Expand Up @@ -1961,13 +1954,6 @@ exports[`built-in plugins introspects mods in a managed project 1`] = `
},
"_": "contain",
},
{
"$": {
"name": "expo_splash_screen_status_bar_translucent",
"translatable": "false",
},
"_": "true",
},
{
"$": {
"name": "expo_runtime_version",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,22 @@ import { setSplashStrings } from '../withAndroidSplashStrings';

describe(setSplashStrings, () => {
it('add expo_splash_screen_strings', () => {
const results = setSplashStrings({ resources: {} }, 'cover', false);
const results = setSplashStrings({ resources: {} }, 'cover');
const expectXML = `\
<resources>
<string name="expo_splash_screen_resize_mode" translatable="false">cover</string>
<string name="expo_splash_screen_status_bar_translucent" translatable="false">false</string>
</resources>`;
expect(XML.format(results)).toEqual(expectXML);
});

it('override old expo_splash_screen_strings', () => {
const results = setSplashStrings(
{ resources: { string: [{ $: { name: 'expo_splash_screen_resize_mode' }, _: 'contain' }] } },
'native',
false
'native'
);
const expectXML = `\
<resources>
<string name="expo_splash_screen_resize_mode" translatable="false">native</string>
<string name="expo_splash_screen_status_bar_translucent" translatable="false">false</string>
</resources>`;
expect(XML.format(results)).toEqual(expectXML);
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ConfigPlugin, WarningAggregator, withPlugins } from '@expo/config-plugins';
import { ConfigPlugin, withPlugins } from '@expo/config-plugins';

import { AndroidSplashConfig, getAndroidSplashConfig } from './getAndroidSplashConfig';
import { withAndroidSplashDrawables } from './withAndroidSplashDrawables';
Expand All @@ -13,23 +13,6 @@ export const withAndroidSplashScreen: ConfigPlugin<
const isLegacyConfig = props === undefined;
const splashConfig = getAndroidSplashConfig(config, props ?? null);

// Update the android status bar to match the splash screen
// androidStatusBar applies info to the app activity style.
const backgroundColor = splashConfig?.backgroundColor || '#ffffff';
if (config.androidStatusBar?.backgroundColor) {
if (
backgroundColor.toLowerCase() !== config.androidStatusBar?.backgroundColor?.toLowerCase?.()
) {
WarningAggregator.addWarningAndroid(
'androidStatusBar.backgroundColor',
'Color conflicts with the splash.backgroundColor'
);
}
} else {
if (!config.androidStatusBar) config.androidStatusBar = {};
config.androidStatusBar.backgroundColor = backgroundColor;
}

return withPlugins(config, [
[withAndroidSplashMainActivity, { isLegacyConfig }],
[withAndroidSplashImages, splashConfig],
Expand Down
Loading
Loading