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.

Blank page when using `setParams` in ReactNavigationv5 on Android 8

See original GitHub issue

Hello,

Found issue where calling setParams in componentDidMount for example is casuing blank page on Android 8.

Everything works fine on Android 9+ in my app.

If I remove enableScreens(), everything works fine. Found workaround that adding timeout for 100ms and then call setParams is also working fine.

react-native-screens: 2.8.0 @react-navigation/bottom-tabs": "^5.5.2" @react-navigation/drawer": "^5.8.2" @react-navigation/native": "^5.5.1" @react-navigation/stack": "^5.5.1"

anyone faced similar issue?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
WoLewickicommented, Jun 23, 2020

Nice! Could you try and repro it anyhow and add this repro to the #463 even if it seems a bit big? It would greatly help us remove the problem. @react-navigation is publishing very often so you won’t have to wait long. I am closing this issue then, feel free to comment if something is wrong.

1reaction
alimekcommented, Jun 18, 2020

sure, will prepare tomorrow or on Monday

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hide header in stack navigator React navigation
On v4 simply use below code in the page you want to hide the header export default class Login extends Component { static...
Read more >
react-navigation V5 - Let's see how to install react-navigaion ...
Let's see how to install react-navigaion V5 and how to use it.
Read more >
Single User getting blank page when trying to acce...
Hi All, Could you advise, I have single user getting blank screen only when trying to access PROD. We use OKTA verification to...
Read more >
blank white page after selecting school - can't log in (Android)
Solved: I can log in on the website but on the student app (Android - Note 8), after I select my school, I...
Read more >
New blank page
All your content is private and nothing is ever stored on a server. Be sure to save your text somewhere else when you're...
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