-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just doesn't work !What is wrong? #82
Comments
Same here . It doesnt work in iOS device. It works perfectly fine in simulator , but when i run in actual device , its not even asking with the permission popup that usually comes if we are accessing microphone . |
@gwl002 you don't need |
@siarhei-zharnasek Did you solve your problem? |
I didn't have it, just wanted to help :) |
Same here. Still have no idea; no callback is invoked. |
`export default class App extends Component{
constructor(props) {
super(props);
Voice.onSpeechStart = this.onSpeechStartHandler.bind(this);
Voice.onSpeechEnd = this.onSpeechEndHandler.bind(this);
Voice.onSpeechError = this.onSpeechError.bind(this);
Voice.onSpeechResults = this.onSpeechResultsHandler.bind(this);
this.state = {
listening: "pause"
};
}
onSpeechResultsHandler(result){
console.log("speech result: ",result)
}
onSpeechStartHandler(){
this.setState({listening:"started"})
console.log("speech started")
}
}`
I press the button.Just "start" show in the console.No any listener is triggered!Thanks for any help!
The text was updated successfully, but these errors were encountered: