I can't use TTS on Android 11

I’m developing a game with a Text To Speech feature. It works fine on the other version but doesn’t work on Android 11.

I’m using Unity 2020.3.11f and already add to the manifest.

        <action android:name="android.intent.action.TTS_SERVICE" />

Please helps me to solve this problem.

I have same issue on Unity 2018.4.26 and when I added on Plugin/Android/AndridManifest.xml, build will fail.

I Had the same problem and tried to solve it for a view month now, every now and then. Its not essential for my app but a nice feature to have. So, the solution for this problem is the same as for the notification problem. Notifications for Android did not work as well, but i fixed it within a day.
If things work fine for you on development build and the features you’d like to use would definitely work with ARM64, then use a custom Proguard, activate it as shown in the image above on Project Settings/Player/Publishing Settings.

Then move to the Proguard file (image below), open it and type in -keep class com.starseed.** { *; }.
You might also mention this package in the manifest. Try this with all features that should work, but somehow don’t.

The AndroidManifest schould look something like this:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
			<action android:name="android.intent.action.TTS_SERVICE" />
  <uses-permission android:name="android.permission.RECORD_AUDIO" />
  <uses-permission android:name="android.permission.INTERNET" />
	<uses-permission android:name="android.permission.Camera" />
	<uses-permission android:name="android.permission.Microphone" />
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />