我正在使用Ionic 1.3.5,AngularJS 1.5.3和Cordova Cli 8开发应用程序 . 我的应用程序必须适用于Android和iOS .
我想在我的应用程序中添加语音识别功能,但对于Ionic v1来说似乎没有太多选择 .
我试着用这个:https://github.com/pbakondy/cordova-plugin-speechrecognition
但它只能与Ionicv2一起使用 .
我尝试使用ionic-native for ionicv1,但语音识别插件不在列表中:https://github.com/ionic-team/ionic-native/tree/v2.x#angular-1
https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API在Safari iOS上不起作用
我也试过这个:https://github.com/macdonst/SpeechRecognitionPlugin但在我的应用程序中,它一直在说$ scope.recognition = new SpeechRecognition();未定义或不是构造函数 .
使用Ionic v1有什么好办法吗?