Skip to content

Commit

Permalink
lock Android Hermes gradle version
Browse files Browse the repository at this point in the history
  • Loading branch information
Julesssss committed Nov 7, 2022
1 parent 0298f24 commit c5cf592
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ allprojects {
// Manually set the react-native version to resolve this upstream issue: https://github.com/facebook/react-native/issues/35210
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())
force "com.facebook.react:react-native:" + REACT_NATIVE_VERSION
force "com.facebook.react:hermes-engine:" + REACT_NATIVE_VERSION
}
}
repositories {
Expand Down

0 comments on commit c5cf592

Please sign in to comment.