Skip to content

Missing step on "Navigating Between Screens" section in react native documentation #3862

Description

@JuszJo

Description

According to the official react navigation documentation https://reactnavigation.org/docs/getting-started, after installing all dependencies for react navigation to work, there is an extra step required for the "react-screens" package to work properly on android devices that is missing from the "Navigating Between Screens" section in https://reactnative.dev/docs/navigation#react-navigation.

What is the problem?

It requires an extra configuration in the MainActivity.java file which is located in android/app/src/main/java/<your package name>/MainActivity.java in order for react navigation to work properly on android devices.

How can we address it?

A simple solution would just be to update the documentation for just this problem as it is an important step in process of using react navigation for android devices.

Why is it important?

It would provide more clarity to the process of setting up a react native app for navigation

Who needs this?

All devs alike will need this as it is a crucial step in setting up a react native app for navigation

When should this happen (use version numbers if needed)?

Since this is a documentation issue, I believe it should happen in the next minor updates

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions