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.

Enabling the status bar causes a crash for react-navigation navigator screens

See original GitHub issue

Description

Turning on the UIViewController native status bars eliminates the possibility of using react navigation’s status bar, which requires

	<key>UIViewControllerBasedStatusBarAppearance</key>
	<false/>

This makes it extremely difficult for me to add createNativeStackNavigator to my project that previously did not use createNativeStackNavigator but did use createStackNavigator

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
WoLewickicommented, Nov 16, 2020

I am closing this issue since I don’t know if there is something at the side of react-native-screens that can be done. Please comment here if you have any questions.

0reactions
WoLewickicommented, Nov 16, 2020

But it is not directly used by createStackNavigator, so how is it connected directly to the stack-navigator? You can use createStackNavigator without using StatusBar. I am not sure if I understand you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enabling the status bar causes a crash for react-navigation ...
Description. Turning on the UIViewController native status bars eliminates the possibility of using react navigation's status bar, which requires
Read more >
Troubleshooting | React Navigation
Sometimes you might have noticed that your screens unmount/remount, or your local component state or the navigation state resets when you navigate. This...
Read more >
react-native-screens - UNPKG
This navigator uses native navigation primitives (`UINavigationController` on iOS and `Fragment` on Android) for navigation under the hood. The main difference ...
Read more >
react-native-screens - npm
0 for all the different navigator types (stack, tab, drawer, etc). To configure react-navigation to use screens instead of plain RN Views for ......
Read more >
React Native Bottom Navigation - Using React Navigation V6
import android.os.Bundle;. This change is required to avoid crashes related to View state being not persisted consistently across Activity restarts. 3. For ...
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