android: fix build with RN 0.73

This commit is contained in:
Kesha Antonov
2023-12-11 12:14:51 +03:00
committed by GitHub
parent 7b2dfdfbd1
commit 2f2a26737e

View File

@@ -107,11 +107,6 @@ public class RNBackgroundDownloaderModule extends ReactContextBaseJavaModule imp
ee = getReactApplicationContext().getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class);
}
@Override
public boolean hasConstants() {
return true;
}
@ReactMethod
public void addListener(String eventName) {
// Keep: Required for RN built in Event Emitter Calls.