SpeechReconition and TextoSpeech Don't work in Build release prod

Hello, I am quite new on Ionic but I have not had problems to connect Angular and to the Ionic Framework. I have an app that uses the SpeechReconition and TextToSpeech (tts) plugins, in development it works (as always happens). But doing build prod release to android the apk is useless. It only shows me only the graphic resources but does not ask for permissions or anything; Only with ionic serve and cordova run for test the app in my device it works fine. What can be? I’m using Ionic Studio.

Your need add this permission in the AndroidManifest.xml

<uses-permission android:name="android.permission.RECORD_AUDIO" />

After your add this line, make the build again!


1 Like

Thank you! Works like a charm. Have a great day!