React-native-navigation: [V3] White flash between iOS Launch Screen and RN screen

Created on 31 Aug 2019  ·  5Comments  ·  Source: wix/react-native-navigation

Issue Description

There is a white flash between iOS Launch Screen and the first loaded javascript screen. Setting waitForRender: true in RNN 3.1.2 has no effect.

Steps to Reproduce / Code Snippets

With version 3.0.0 and below the following code was working.

Navigation.setDefaultOptions({
  animations: {
    setRoot: {
      waitForRender: true,
    },
  },
});

Upgrading to version 3.1.2 this seems like being ignored by RNN.

Video

_Ignore the gradient difference between iOS Launch Screen and JS screen._

| 3.0.0 | 3.1.2 |
|---|---|
| case02 | case01 |


Environment

  • React Native Navigation version: 3.1.2
  • React Native version: 0.60.5
  • Platform(s) (iOS, Android, or both?): iOS
  • Device info (Simulator/Device? OS version? Debug/Release?): It affects all devices and simulators and all iOS versions in release env.
🏚 stale

Most helpful comment

I also have the same problem on iOS (using simulator with iPhone X)
Works well on android
version : 3.1.2

All 5 comments

I also have the same problem on iOS (using simulator with iPhone X)
Works well on android
version : 3.1.2

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

The issue has been closed for inactivity.

Same here. How to solve this?

Any clue about this issue yet ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

edcs picture edcs  ·  3Comments

zhanguangao picture zhanguangao  ·  3Comments

zagoa picture zagoa  ·  3Comments

EliSadaka picture EliSadaka  ·  3Comments

charlesluo2014 picture charlesluo2014  ·  3Comments