Skip to content

Commit

Permalink
Merge pull request #227 from bcye/patch-1
Browse files Browse the repository at this point in the history
Fix NativeEventEmitter warnings
  • Loading branch information
walterholohan authored Sep 9, 2023
2 parents 4d21002 + 8f302a8 commit bcb1e53
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions android/src/main/java/net/no_mad/tts/TextToSpeechModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -525,4 +525,14 @@ private void sendEvent(String eventName, WritableMap params) {
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
.emit(eventName, params);
}

@ReactMethod
public void removeListeners(Integer count) {
// Keep: Required for RN built in Event Emitter Calls.
}

@ReactMethod
public void addListener(Integer count) {
// Keep: Required for RN built in Event Emitter Calls.
}
}

0 comments on commit bcb1e53

Please sign in to comment.