question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React Native 0.68 Onboarding Flash White Screen

See original GitHub issue

Description

// Place this code after “[self.window makeKeyAndVisible]” and before “return YES;” UIStoryboard *sb = [UIStoryboard storyboardWithName:@“LaunchScreen” bundle:nil]; UIViewController *vc = [sb instantiateInitialViewController]; rootView.loadingView = vc.view;

this code is not working

Ekran Resmi 2022-04-07 18 20 30

Version

0.68.0

Output of npx react-native info

System: OS: macOS 12.3 CPU: (10) arm64 Apple M1 Max Memory: 795.16 MB / 32.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 17.8.0 - /opt/homebrew/bin/node Yarn: 1.22.17 - /opt/homebrew/bin/yarn npm: 8.5.5 - /opt/homebrew/bin/npm Watchman: 2022.03.14.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: Not Found SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8193401 Xcode: 13.3/13E113 - /usr/bin/xcodebuild Languages: Java: 11.0.14.1 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.68.0 => 0.68.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

the code is not working

// Place this code after “[self.window makeKeyAndVisible]” and before “return YES;” UIStoryboard *sb = [UIStoryboard storyboardWithName:@“LaunchScreen” bundle:nil]; UIViewController *vc = [sb instantiateInitialViewController]; rootView.loadingView = vc.view;

Snack, code example, screenshot, or link to a repository

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

20reactions
pragadeeshkcommented, Apr 8, 2022

@lobydev change type of rootView to RCTRootView instead of UIView. You will need to type case RCTAppSetupDefaultRootView as well.

So changing line number 44 to

RCTRootView *rootView = (RCTRootView *)RCTAppSetupDefaultRootView(bridge, @"Furya", nil);

should solve the problem

1reaction
cortinicocommented, Oct 6, 2022

@cortinico It seems like this isn’t solved.

Can I ask you to create a newer issue + provide a reproducer for this specific scenario? We’re having a hard time tracking closed issues which receives follow-up comments so they get downprioritized. Please use the “New Architecture” issue as this looks like Fabric related.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native — Fix Blank Flash After Splash Screen
React Native — Fix Blank Flash After Splash Screen ... The splash screen is the first view of your React Native app that...
Read more >
Splash screen with react native of version 0.68 - Reddit
Hello everybody,. Is there any person has idea about add splash screen with react native of version 0.68? ... Basically you have to...
Read more >
Publishing to Apple App Store - React Native
As your App Bundle grows in size, you may start to see a blank screen flash between your splash screen and the display...
Read more >
2020 Venus Flagship Mission Study - NASA Science
A mission to explore the habitability of Venus and the origins of Earth-sized planets both near and far.... VN009. Page 2. Venus Flagship ......
Read more >
Big Data and AI Strategies - Content Delivery Network (CDN)
See page 278 for analyst certification and important disclosures, including non-US ... advise buy-side clients on the entire process of onboarding Big Data, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found