Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
package="com.wenkesj.voice"
xmlns:tools="http://schemas.android.com/tools">

<queries>
<intent>
<action android:name="android.speech.RecognitionService" />
</intent>
</queries>
<uses-sdk tools:overrideLibrary="com.facebook.react" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.INTERNET" />
Expand Down
9 changes: 9 additions & 0 deletions android/src/main/java/com/wenkesj/voice/VoiceModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,15 @@ public void run() {
});
}


@ReactMethod
public void addListener(String eventName) {
}

@ReactMethod
public void removeListeners(Integer count) {
}

@Override
public String getName() {
return "RCTVoice";
Expand Down