Skip to content

Commit 9ad7e22

Browse files
committed
兼容0.47上下的版本
Signed-off-by: 2534290808 <2534290808@qq.com>
1 parent a044594 commit 9ad7e22

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

android/src/main/java/com/zphhhhh/speech/SpeechPackage.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ public List<NativeModule> createNativeModules(ReactApplicationContext reactConte
2626

2727
return modules;
2828
}
29-
29+
//@Override >0.47已经过期
30+
public List<Class<? extends JavaScriptModule>> createJSModules() {
31+
return Collections.emptyList();
32+
}
3033
@Override
3134
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
3235
return Collections.emptyList();

0 commit comments

Comments
 (0)