Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit d78956b

Browse files
cooperkaPatrick Nikoletich
authored andcommitted
Restore compatibility with RN v0.46 (#980)
* Revert "Remove overriden createJSModules" This reverts commit dff9f47. * Remove @OverRide annotation to support RN v0.47
1 parent 129e019 commit d78956b

File tree

1 file changed

+5
-0
lines changed
  • android/app/src/main/java/com/microsoft/codepush/react

1 file changed

+5
-0
lines changed

android/app/src/main/java/com/microsoft/codepush/react/CodePush.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,11 @@ public List<NativeModule> createNativeModules(ReactApplicationContext reactAppli
304304
return nativeModules;
305305
}
306306

307+
// Deprecated in RN v0.47.
308+
public List<Class<? extends JavaScriptModule>> createJSModules() {
309+
return new ArrayList<>();
310+
}
311+
307312
@Override
308313
public List<ViewManager> createViewManagers(ReactApplicationContext reactApplicationContext) {
309314
return new ArrayList<>();

0 commit comments

Comments
 (0)