From 8f302a857ac5a9158e92b8e65313a3af09b89b76 Mon Sep 17 00:00:00 2001 From: Bruce Date: Tue, 8 Nov 2022 16:05:40 +0100 Subject: [PATCH] Add stub methods --- .../main/java/net/no_mad/tts/TextToSpeechModule.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/android/src/main/java/net/no_mad/tts/TextToSpeechModule.java b/android/src/main/java/net/no_mad/tts/TextToSpeechModule.java index 6be44a4..840c094 100644 --- a/android/src/main/java/net/no_mad/tts/TextToSpeechModule.java +++ b/android/src/main/java/net/no_mad/tts/TextToSpeechModule.java @@ -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. + } }