Voice support on Android 11+
Overview
Android 11 introduces changes on how the App can query and interact with other installed apps on the device. In order to access installed services and apps, the App should specify those in need, using the <queries>
tag on the Apps AndroidManifest.xml
file.
Speech recognition
and Text to speech
capabilities are among those services that should be specified on the manifest under the <queries>
tag.
❗ Without those configurations Voice
support will not be available to the Bold360 SDK, on devices running Android 11 and above.
How to enable voice support on Android 11
Follow those steps in order to enable Voice support in Bold360 SDK on Android 11 devices:
1) Add the following to the AndroidManifest.xml
file.
<queries>
<intent>
<action android:name="android.speech.RecognitionService" />
</intent>
<intent>
<action android:name="android.intent.action.TTS_SERVICE" />
</intent>
</queries>
2) Upgrade gradle plugin version
Apps that are using gradle plugin lower than 4.1, should upgrade to the closest compatible version as defined here Preparing your Gradle build for package visibility in Android 11