File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/main/java/com/boilerplate Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ import com.android.build.OutputFile
78
78
*/
79
79
80
80
project. ext. react = [
81
- enableHermes : false , // clean and rebuild if changing
81
+ enableHermes : true , // clean and rebuild if changing
82
82
]
83
83
84
84
apply from : " ../../node_modules/react-native/react.gradle"
Original file line number Diff line number Diff line change 2
2
3
3
import android .app .Application ;
4
4
import android .content .Context ;
5
+ import com .facebook .react .bridge .JSIModulePackage ;
5
6
import com .facebook .react .PackageList ;
6
7
import com .facebook .react .ReactApplication ;
7
8
import com .facebook .react .ReactInstanceManager ;
8
9
import com .facebook .react .ReactNativeHost ;
9
10
import com .facebook .react .ReactPackage ;
10
11
import com .facebook .soloader .SoLoader ;
12
+ import com .swmansion .reanimated .ReanimatedJSIModulePackage ;
11
13
import java .lang .reflect .InvocationTargetException ;
12
14
import java .util .List ;
13
15
@@ -33,6 +35,11 @@ protected List<ReactPackage> getPackages() {
33
35
protected String getJSMainModuleName () {
34
36
return "index" ;
35
37
}
38
+
39
+ @ Override
40
+ protected JSIModulePackage getJSIModulePackage () {
41
+ return new ReanimatedJSIModulePackage (); // for React Native Reanimated
42
+ }
36
43
};
37
44
38
45
@ Override
You can’t perform that action at this time.
0 commit comments