MCPcopy Create free account
hub / github.com/itinance/react-native-fs / RNFSPackage

Class RNFSPackage

android/src/main/java/com/rnfs/RNFSPackage.java:11–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9import com.facebook.react.uimanager.ViewManager;
10
11public class RNFSPackage implements ReactPackage {
12
13 @Override
14 public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
15 List<NativeModule> modules = new ArrayList<>();
16 modules.add(new RNFSManager(reactContext));
17 return modules;
18 }
19
20 // deprecated >= RN 0.47.0
21 public List<Class<? extends JavaScriptModule>> createJSModules() {
22 return Collections.emptyList();
23 }
24
25 @Override
26 public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
27 return Arrays.<ViewManager>asList();
28 }
29
30}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected