React-native-navigation: [V4] Regression "Flash" on launch after Splash screen.

Created on 24 Jan 2020  路  11Comments  路  Source: wix/react-native-navigation

Issue Description

In 4.0.5 a regression is introduced that causes a noticeable flash of the background before showing the component (right after the splash screen disappears). I tried many different versions and it was introduced in 4.0.5 while still working in 4.0.4.

Steps to Reproduce / Code Snippets / Screenshots

See above


Environment

  • React Native Navigation version: between 4.0.5
  • React Native version: 0.61.5
  • Platform(s) (iOS, Android, or both?): iOS
  • Device info (Simulator/Device? OS version? Debug/Release?): Any
iOS acceptebug

All 11 comments

@jfrolich Are you using waitForRender when calling setRoot ? I assume the background image is an <Image> component set in JSX, right?

Yes I'm using waitForRender. There is indeed an image in the background (from the native asset catalog).

@yogevbd waitForRender seems to have broke in recent versions, any chance it's already fixed in v5?

Not sure, will check.

@jfrolich This should be fixed in v5, could you please update and let us know if the issue persists? Thanks.

Confirmed that 5.0 works.

BTW I had some issues making 5.0 work with Android. Would be good to put some documentation out when it is released.

Is 5.0 stable enough for production?

Not sure, we shipped it though 馃か

@cspicuzza We're upgrading the Wix app to v5 next week. I'm not aware of any more issues.

@jfrolich Thanks for the feedback, We'll update the docs before release 馃憤

@guyca I didn't know about the docs in the issue related to the beta (I kind of had to debug my way into that solution), with that info it would have been smooth sailing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

viper4595 picture viper4595  路  3Comments

birkir picture birkir  路  3Comments

zagoa picture zagoa  路  3Comments

EliSadaka picture EliSadaka  路  3Comments

nbolender picture nbolender  路  3Comments