Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description I get cmake error (`Invalid character escape '\K'.`) when using latest Reanimated on RN version 0.64.3, this will fix Android build on windows because latest version of reanimated doesn't provide prebuilt AAR for older version, so it will attempt to rebuild from source ![image](https://user-images.githubusercontent.com/15137312/200750965-a126493a-a1c6-4b62-85d0-c91a9f38bed3.png) ## Changes - added method `toPlatformFileString(File path)` to android/build.gradle to replace windows file separator character with '/' - call `toPlatformFileString` on cmake arguments REACT_NATIVE_DIR - fix sources taken from [this PR](Kudo/react-native-v8#132) ## Test code and steps to reproduce - create new project with RN v0.64.3 - install latest version of react-native-reanimated - try to build apk for Android `./gradlew clean installDebug` ## Checklist - [ ] Included code example that can be used to test this change - [ ] Updated TS types - [ ] Added TS types tests - [ ] Added unit / integration tests - [ ] Updated documentation - [ ] Ensured that CI passes
- Loading branch information