Closed kvharish closed 6 years ago
Which Android version? And can you confirm that this is an issue with all Xiaomi devices and not only MI6? It sounds like an permission only isue... any ideas of how to fix this?
Since there has been no activity on this issue for some weeks now, Im closing it. Feel free to open again if you have more information.
Sorry for replying late.
Found what the problem is. I was adding the plugin in config.xml straight away like
<plugin name="cordova-plugin-audioinput" spec="1.0.1"/>
Now I have added for iOS and Android separately
<platform name="ios">
<plugin name="cordova-plugin-audioinput" spec="1.0.1"/>
</platform>
<platform name="android">
<plugin name="cordova-plugin-audioinput" spec="1.0.1"/>
</platform>
Works like a charm.
Thanks, @kvharish! No problems, I'm just glad that your found a solution and appreciate that you published it here for others to see that may have the same problem. I'm also looking into this myself.
This plugin is not working in Xiaomi devices. While debugging I can see that it is always getting permission value as granted but that is not the case. I am using Xiaomi MI6, MIUI 9.2 Stable (9.2.4.0).