-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
İOS-10 not working #99
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I add the plugin and build for ios platform. Not working. please help for this.
firmware: IOS 10.3.3
ionic version: v1
the following used to code:----------------------------------------------------
in html code: Click to Speak
in angularjs controller code:
angular.module('starter.controllers', [])
.controller('testCtrl', function($scope,$timeout) {
var recognition = new SpeechRecognition();
recognition.maxAlternatives = 10;
$scope.start=function() {
recognition.start();
$timeout(function(){
recognition.onresult = function(event) {
if (event.results.length > 0) {
var result = event.results[0];
console.log(result);
for (var i = 0; i < result.length; ++i) {
var text = result[i].transcript;
alert(text);
}
}
}
},6000);
}
});
the following error occurred;--------------------------------
2017-08-15 13:45:12.902227+0300 speech[1164:245124] THREAD WARNING: ['SpeechRecognition'] took '124.562012' ms. Plugin should use a background thread.
2017-08-15 13:45:12.902895+0300 speech[1164:245124] error
The text was updated successfully, but these errors were encountered: