Closed berendsliedrecht closed 1 year ago
small edit: there might be some cleanup to do as we do not use JSC or Hermes directly so we can likely omit some checks there in the CMakelist.txt.
CMakelist.txt
tested with:
in android/app/build.gradle
- implementation "com.facebook.react:react-native:+" // From node_modules + implementation "com.facebook.react:react-native:0.66.2"
or
+ def REACT_NATIVE_VERSION = new File(['node', '--print',"JSON.parse(require('fs').readFileSync(require.resolve('react-native/package.json'), 'utf-8')).version"].execute(null, rootDir).text.trim()) - implementation "com.facebook.react:react-native:+" // From node_modules + implementation "com.facebook.react:react-native:" + REACT_NATIVE_VERSION
small edit: there might be some cleanup to do as we do not use JSC or Hermes directly so we can likely omit some checks there in the
CMakelist.txt
.tested with:
for RN 66 support:
in android/app/build.gradle
or