Thanks!
I just had a look at that, and that app does not use speech detection in legacy mode. When I try my app with legacy mode false, I do not get pop ups on time out either.
Okay, I will stick to the non-legacy mode for the moment.
However when in non-legacy mode, another problem occurs which seem to be a bug: When converting results with “text to speech” the result is often spoken twice. Any information on this problem? I can get around this by using flags but it would be nice to get it fixed.
A final thing I noticed when testing driving is that sometimes the speech recognition does not complete, see attached image. 
I spoke the word 50, it was recognized as shown, but the pop up with the result does not disappear. The app does not react on the result, so the “after getting text” flag is not raised.
After a while I get a time out error and a message “no internet connection”. When I check the internet connection of the phone (4G) it appears to be okay.
Closing the app, removing it from memory, and then a restart is needed to make speech recognition work again.
Anyone with suggestions on these problems?