Skip to content

Commit 1160127

Browse files
cortinicofacebook-github-bot
authored andcommitted
Fix comments on how to enable/disable Hermes on iOS
Summary: This comment on how to enable/disable Hermes went out of sync with the release of the New Architecture. Got reported on the website here: facebook/react-native-website#3105 I'm fixing it. Changelog: [Internal] [Changed] - Fix comments on how to enable/disable Hermes on iOS Reviewed By: cipolleschi Differential Revision: D36204189 fbshipit-source-id: 5831a9500477115ebe5fa5cb62176ceefc722839
1 parent 13a72e0 commit 1160127

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template/ios/Podfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ target 'HelloWorld' do
1212

1313
use_react_native!(
1414
:path => config[:reactNativePath],
15-
# to enable hermes on iOS, change `false` to `true` and then install pods
15+
# By default, Hermes is disabled on Old Architecture, and enabled on New Architecture.
16+
# You can enabled/disable it manually by replacing `flags[:hermes_enabled]` with `true` or `false`.
1617
:hermes_enabled => flags[:hermes_enabled],
1718
:fabric_enabled => flags[:fabric_enabled],
1819
# An absolute path to your application root.

0 commit comments

Comments
 (0)