Skip to content

Skullcan/reactnice

Repository files navigation

REACT NICE (0.69.1)

Status GitHub Issues GitHub Pull Requests License


Clean react-native init project with configurations and changes made to succefully build in Windows using the new architecture.

📝 Table of Contents

🤘 About

The intent is to create a baseline project for others to check if their setup is ready to build the react-native project using the new architecture.

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Make sure your environment is set up correctly.
  • Verify it using npx @react-native-community/cli doctor (thanks @truediogo)
  • Make sure you have followed the instructions for successfully compiling the bundled Hermes.
  • Make sure you are using the Visual Studio Developer Command Prompt.
  • Download and extract the binaries of the ICU4C library.
  • Add the ICU4C folder you extracted to your PATH in the Enviroment Variables. ie: C:\icu4c\bin

🎈 Usage

After you cloned the repository, you can run the project using the following command:

yarn install && yarn android

✅ Changes made

You can check all the changes in the commits, but most important one is:

  • Added the import and IF in the project/build.gradle file for the NDK version 23.1.7779620. This is to prevent the error with long path files during the build process.
  • It's worth noting that for this to build in release variant I'm using this PR too in the patch-package postinstall.

✍️ Authors

🎉 Acknowledgements

Thanks to @antoncojocaru for pointing that the steps in the prerequisites instructions are not necessary if you are using a new project.

And all the people who commented and tried to help in the issue: #34084

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published