File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed
packages/create-react-native-library/templates Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ import org.apache.tools.ant.taskdefs.condition.Os
79
79
*/
80
80
81
81
project. ext. react = [
82
- enableHermes : false , // clean and rebuild if changing
82
+ enableHermes : true , // clean and rebuild if changing
83
83
]
84
84
85
85
apply from : " ../../node_modules/react-native/react.gradle"
Original file line number Diff line number Diff line change 8
8
# http://developer.android.com/guide/developing/tools/proguard.html
9
9
10
10
# Add any project specific keep options here:
11
+
12
+ -keep class com.facebook.hermes.unicode.** { *; }
13
+ -keep class com.facebook.jni.** { *; }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ target '<%- project.name %>Example' do
13
13
use_react_native! (
14
14
:path => config [ :reactNativePath ] ,
15
15
# to enable hermes on iOS, change `false` to `true` and then install pods
16
- :hermes_enabled => flags [ :hermes_enabled ] ,
16
+ :hermes_enabled => true ,
17
17
:fabric_enabled => flags [ :fabric_enabled ] ,
18
18
# An absolute path to your application root.
19
19
:app_path => "#{ Pod ::Config . instance . installation_root } /.."
Original file line number Diff line number Diff line change 15
15
"ios" : {
16
16
"supportsTablet" : true
17
17
},
18
+ "jsEngine" : " hermes" ,
18
19
"assetBundlePatterns" : [
19
20
" **/*"
20
21
]
You can’t perform that action at this time.
0 commit comments