| 9 | import com.facebook.react.uimanager.ViewManager; |
| 10 | |
| 11 | public 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected