From eb07e3702a33cf50665c3d465468ada56e6994a1 Mon Sep 17 00:00:00 2001 From: Walter Holohan Date: Sun, 5 Nov 2023 21:49:31 +0000 Subject: [PATCH] fix: android addListener param type incorrect --- android/src/main/java/net/no_mad/tts/TextToSpeechModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 840c094..8c1bbc5 100644 --- a/android/src/main/java/net/no_mad/tts/TextToSpeechModule.java +++ b/android/src/main/java/net/no_mad/tts/TextToSpeechModule.java @@ -532,7 +532,7 @@ public void removeListeners(Integer count) { } @ReactMethod - public void addListener(Integer count) { + public void addListener(String eventName) { // Keep: Required for RN built in Event Emitter Calls. } }