Skip to content

Commit

Permalink
feat: enable hermes
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Jun 10, 2024
1 parent b862f43 commit 1b27b7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ package = JSON.parse(File.read(File.join(react_native_path, "package.json")))
version = package['version']

# Temporaily build from source until visionOS supports prebuilt binaries
source_type = HermesEngineSourceType::BUILD_FROM_GITHUB_TAG # hermes_source_type(version, react_native_path)
source_type = HermesEngineSourceType::BUILD_FROM_GITHUB_COMMIT # hermes_source_type(version, react_native_path)
ENV['HERMES_COMMIT'] = "7701f77717171a5a778c2c7657b78ab77c637ead"
source = podspec_source(source_type, version, react_native_path)

Pod::Spec.new do |spec|
Expand Down
2 changes: 0 additions & 2 deletions packages/react-native/template/visionos/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ target 'HelloWorld' do

use_react_native!(
:path => config[:reactNativePath],
# Hermes is disabled for visionOS, until it's officially supported. If you want to run Hermes anyway, check this issue: https://github.com/callstack/react-native-visionos/issues/128
:hermes_enabled => false,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
Expand Down

0 comments on commit 1b27b7c

Please sign in to comment.