Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FocusAwareStatusBar error when compiling to physical device #409

Open
jacobmcmichael opened this issue Dec 15, 2024 · 1 comment
Open

FocusAwareStatusBar error when compiling to physical device #409

jacobmcmichael opened this issue Dec 15, 2024 · 1 comment

Comments

@jacobmcmichael
Copy link

Summary:

Unable to load the default project template on a physical device due to rendering error. See the following:

Warning: Error: Couldn't find a navigation object. Is your component inside NavigationContainer?

This error is located at:
in FocusAwareStatusBar (created by Onboarding)
in RCTView (created by View)
in View (created by CssInterop.View)
in CssInterop.View (created by Onboarding)
in Onboarding
...

Steps to reproduce:

  1. Create the default starter project.
  2. Install dependencies.
  3. Configure device settings to allow on-device app installation.
  4. Run the project using pnpm ios --device.

Expected behavior:

The developer is able to see the login/onboarding screen when running the app on their physical device.

Additional notes:

M1 MacOS Sequoia 15.1.1
iPhone 14 Plus 18.1.1

@yjose
Copy link
Member

yjose commented Dec 17, 2024

@jacobmcmichael, is this issue related only to the physical device, or do you experience the same problem with the simulator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants