Skip to content

Commit

Permalink
Add instructions to template/ios/Podfile for enabling hermes (#30461)
Browse files Browse the repository at this point in the history
Summary:
Just thought I'd add these instructions so devs don't have to check the docs. Also, it makes iOS match Android with instructions in the configuration files
## Changelog
N/A (in my opinion)

Pull Request resolved: #30461

Test Plan: N/A (because not a code change)

Reviewed By: hramos

Differential Revision: D25309687

Pulled By: TheSavior

fbshipit-source-id: a1907089b9d2e7fe6f2498ce27129c3ae65f7c9a
  • Loading branch information
SConaway authored and facebook-github-bot committed Dec 4, 2020
1 parent 50dde4b commit a326a30
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion template/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ platform :ios, '10.0'
target 'HelloWorld' do
config = use_native_modules!

use_react_native!(:path => config[:reactNativePath])
use_react_native(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
)

target 'HelloWorldTests' do
inherit! :complete
Expand Down

0 comments on commit a326a30

Please sign in to comment.