Skip to content

[Expo - iOS] react-native 0.74.3 breaks the splash screen #590

@antFrancon

Description

@antFrancon

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

After upgrading React Native to version 0.74.3, the splash screen feature is broken on iOS.

Specifically:

  • The native splash screen hides too early.
  • The JS splash screen (the one that hides with useHideAnimation) no longer hides.

This issue may be related to this commit in the last RN release: Support customizeRootView from RCTRootViewFactory.

Library version

5.5.3

Environment info

// Old architecture
"react": "18.2.0",
"react-native": "0.74.2",
"react-native-bootsplash": "^5.5.3",

// Dev
"@react-native/babel-preset": "0.74.84",
"@react-native/eslint-config": "0.74.84",
"@react-native/metro-config": "0.74.84",
"@react-native/typescript-config": "0.74.84",

Steps to reproduce

  1. Run the example with RN 0.74.2 --> ✅
  2. Upgrade to RN 0.74.3 --> ❌

I tested both in dev and release mode.

Reproducible sample code

Run the example including the useHideAnimation part.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions