Skip to content

Commit b457b4f

Browse files
authored
Merge pull request #10 from bahaa96/patch-1
Handling Android RN 0.47 breaking change
2 parents ee9d8d8 + e0db137 commit b457b4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/src/main/java/com/futurepress/staticserver/FPStaticServerPackage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public List<NativeModule> createNativeModules(ReactApplicationContext reactConte
1616
return modules;
1717
}
1818

19-
@Override
19+
// Deprecated RN 0.47
2020
public List<Class<? extends JavaScriptModule>> createJSModules() {
2121
return Collections.emptyList();
2222
}
@@ -25,4 +25,4 @@ public List<Class<? extends JavaScriptModule>> createJSModules() {
2525
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
2626
return Collections.emptyList();
2727
}
28-
}
28+
}

0 commit comments

Comments
 (0)