You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 23, 2023. It is now read-only.
Hi,
I have created an ionic app which uses this cordova-plugin-recognition for converting speech to text.
It works well on android.
But when I create an ipa file and uploaded it to testflight to be tested via apple store, the testers are not able to record their voice.
It does nothing on trying to record speech nor throws any error.
The code which I used is as follows:
initSpeech() {
this.speechRecognition.hasPermission()
.then((hasPermission: boolean) => {
console.log(hasPermission)
if (!hasPermission) {
this.speechRecognition.requestPermission()
.then(
() => console.log('granted'),
() => console.log('Denied')
)
}
})
}
Hi,
I have created an ionic app which uses this cordova-plugin-recognition for converting speech to text.
It works well on android.
But when I create an ipa file and uploaded it to testflight to be tested via apple store, the testers are not able to record their voice.
It does nothing on trying to record speech nor throws any error.
The code which I used is as follows:
initSpeech() {
this.speechRecognition.hasPermission()
.then((hasPermission: boolean) => {
console.log(hasPermission)
if (!hasPermission) {
this.speechRecognition.requestPermission()
.then(
() => console.log('granted'),
() => console.log('Denied')
)
}
})
}
start() {
// Start the recognition process
this.speechRecognition.startListening()
.subscribe(
(matches: Array) => { this.voicetext = matches[0]; this.mainForm.controls['comments'].setValue(matches[0]); },
(onerror) => console.log('error:', onerror)
)
}
//stop listening for(ios only)
stop() {
this.speechRecognition.stopListening();
}
Please help me with this
The text was updated successfully, but these errors were encountered: