Skip to content

Commit 970384c

Browse files
committed
Added back for Backward-Compat but without @OverRide
1 parent 7c1963c commit 970384c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

android/src/main/java/com/rnfs/RNFSPackage.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,15 @@ public List<NativeModule> createNativeModules(ReactApplicationContext reactConte
1616
modules.add(new RNFSManager(reactContext));
1717
return modules;
1818
}
19-
19+
20+
// deprecated >= RN 0.47.0
21+
public List<Class<? extends JavaScriptModule>> createJSModules() {
22+
return Collections.emptyList();
23+
}
24+
2025
@Override
2126
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
2227
return Arrays.<ViewManager>asList();
2328
}
29+
2430
}

0 commit comments

Comments
 (0)