We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4292e9 commit 1c51188Copy full SHA for 1c51188
pages/index.js
@@ -50,9 +50,8 @@ const Home = () => {
50
recognizerRef.current.interimResults = true;
51
recognizerRef.current.continuous = true;
52
recognizerRef.current.onend = () => {
53
- recognizerRef.current.start();
54
- if (detecting) {
55
- recognizerRef.current.stop();
+ if (android && detecting) {
+ recognizerRef.current.start();
56
};
57
58
recognizerRef.current.onresult = event => {
0 commit comments