Open godrose opened 5 years ago
Hi godrose, did you find any solution that addresses this problem ?
Edit : I found it Replace the code in the constructor of your SpeechToTextImplementation //_activity = CrossCurrentActivity.Current.Activity; _activity = (Activity)Forms.Context;
It's just that your app certainly couldn't get the Activity, inducing a NullReferenceException. Hoping that it helps somebody !
@killgroove Thanks a lot!
@godrose With pleasure ! By the way, have you been able to retrieve the result of the speech (as a text argument) into a label, in the XFSSpeechDemo project ? On my side, I can talk but the label never seems to be filled. I have the exact same solution that on this repository.
@godrose , @killgroove did it work for you in iOS ? nothing is happening for me in iOS
Env: MacOS HighSierra, VS for Mac 7.7.4, API 26 Emulator
Repro steps(Android):
Expected: 'Speak now' dialog pops up and stays on the foreground allowing the user to record something
Actual: 'Speak now' dialog pops up and immediately displays 'Tap to speak' caption. (Pressing microphone shows 'Speak now' for a fraction of a second and then reverts to 'Tap to speak')