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
7878 */
7979
8080project. ext. react = [
81- enableHermes : false , // clean and rebuild if changing
81+ enableHermes : true , // clean and rebuild if changing
8282]
8383
8484apply from : " ../../node_modules/react-native/react.gradle"
Original file line number Diff line number Diff line change 22
33import android .app .Application ;
44import android .content .Context ;
5+ import com .facebook .react .bridge .JSIModulePackage ;
56import com .facebook .react .PackageList ;
67import com .facebook .react .ReactApplication ;
78import com .facebook .react .ReactInstanceManager ;
89import com .facebook .react .ReactNativeHost ;
910import com .facebook .react .ReactPackage ;
1011import com .facebook .soloader .SoLoader ;
12+ import com .swmansion .reanimated .ReanimatedJSIModulePackage ;
1113import java .lang .reflect .InvocationTargetException ;
1214import java .util .List ;
1315
@@ -33,6 +35,11 @@ protected List<ReactPackage> getPackages() {
3335 protected String getJSMainModuleName () {
3436 return "index" ;
3537 }
38+
39+ @ Override
40+ protected JSIModulePackage getJSIModulePackage () {
41+ return new ReanimatedJSIModulePackage (); // for React Native Reanimated
42+ }
3643 };
3744
3845 @ Override
You can’t perform that action at this time.
0 commit comments