Skip to content

Commit

Permalink
fix: android build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Jun 13, 2024
1 parent 3c6a750 commit d51e53e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android/src/main/java/expo/modules/stt/ExpoSttModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ class ExpoSttModule : Module(), RecognitionListener {
}
isRecognizing = false
// Log.d(TAG, "Stop Voice Recognizer")

return@Function null as Any
}

Function("destroySpeech") {
Expand All @@ -93,6 +95,8 @@ class ExpoSttModule : Module(), RecognitionListener {
}
isRecognizing = false
// Log.d(TAG, "Destroy Voice Recognizer")

return@Function null as Any
}

Events(onSpeechStart, onSpeechResult, onPartialResults, onSpeechEnd, onSpeechError)
Expand Down

0 comments on commit d51e53e

Please sign in to comment.