Skip to content

İOS-10 not working #99

@HasannSola

Description

@HasannSola

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions