Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Android): improve RN detection in build scripts (#2537)
## Description It has been reported that there are project configurations in which "$projectDir/../node_modules/react-native" exists, but node module resolution algorithm fails to find it. I've reintroduced the aforementioned location. ## Test code and steps to reproduce Our examples should keep working as always ^^ ## Checklist - [ ] Included code example that can be used to test this change - [ ] Updated TS types - [ ] Updated documentation: <!-- For adding new props to native-stack --> - [ ] https://github.com/software-mansion/react-native-screens/blob/main/guides/GUIDE_FOR_LIBRARY_AUTHORS.md - [ ] https://github.com/software-mansion/react-native-screens/blob/main/native-stack/README.md - [ ] https://github.com/software-mansion/react-native-screens/blob/main/src/types.tsx - [ ] https://github.com/software-mansion/react-native-screens/blob/main/src/native-stack/types.tsx - [ ] Ensured that CI passes
- Loading branch information