I have found that when bare HTML is embedded inside a WebView source, the navigator's mediaDevices property is unavailable.
This appears to be an issue related to cross-browser compatibility. I have observed that changing the source to a URI path resolves the issue and allows the functionality to work correctly
so I have changed the way to get the src of the IOS WebView.
You will need to change the source of SpeechRecView.js within the node modules in the same way as I did
related : #7 User permission check has failed
I have found that when bare HTML is embedded inside a WebView source, the navigator's mediaDevices property is unavailable.
This appears to be an issue related to cross-browser compatibility. I have observed that changing the source to a URI path resolves the issue and allows the functionality to work correctly
so I have changed the way to get the src of the IOS WebView.
You will need to change the source of SpeechRecView.js within the node modules in the same way as I did