File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
template/android/app/src/main/java/com/boilerplate Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
- const { rmdir } = require ( 'fs' ) . promises ;
2
+ const { rm } = require ( 'fs' ) . promises ;
3
3
const { applyPlugins } = require ( './template/plugins' ) ;
4
4
5
5
applyPlugins ( ) . then ( async ( ) => {
6
- await rmdir ( './plugins' , { recursive : true } ) ;
6
+ await rm ( './plugins' , { recursive : true } ) ;
7
7
} ) ;
Original file line number Diff line number Diff line change 4
4
import com .swmansion .reanimated .ReanimatedJSIModulePackage ;
5
5
import android .app .Application ;
6
6
import android .content .Context ;
7
+ import com .facebook .react .bridge .JSIModulePackage ;
7
8
import com .facebook .react .PackageList ;
8
9
import com .facebook .react .ReactApplication ;
9
10
import com .facebook .react .ReactInstanceManager ;
10
11
import com .facebook .react .ReactNativeHost ;
11
12
import com .facebook .react .ReactPackage ;
12
13
import com .facebook .soloader .SoLoader ;
14
+ import com .swmansion .reanimated .ReanimatedJSIModulePackage ;
13
15
import java .lang .reflect .InvocationTargetException ;
14
16
import java .util .List ;
15
17
@@ -38,7 +40,7 @@ protected String getJSMainModuleName() {
38
40
39
41
@ Override
40
42
protected JSIModulePackage getJSIModulePackage () {
41
- return new ReanimatedJSIModulePackage (); // <- add
43
+ return new ReanimatedJSIModulePackage ();
42
44
}
43
45
};
44
46
You can’t perform that action at this time.
0 commit comments