Android developers reference states that:
Apps targeting Android 11 that use text-to-speech should declare TextToSpeech.Engine.INTENT_ACTION_TTS_SERVICE in the queries elements of their manifest:
<queries>
...
<intent>
<action android:name="android.intent.action.TTS_SERVICE" />
</intent>
</queries>
I have my app working flawlessly with TextToSpeech on Android 11 and 13 without this clause in the manifest, so the obvious question is "why?":
- Why is this requirement?
- What would break if this requirement is not implemented?
- What would the app be gaining if I implement this requirement?