2

Instant app is crashing when I try to initialize tts so is it not allowd to use TextToSpeech in instant apps?

java.lang.SecurityException: Setting tts_default_synth is not accessible from ephemeral package
Nuwan Alawatta
  • 1,812
  • 21
  • 29
Praveena
  • 6,340
  • 2
  • 40
  • 53
  • If you see a `SecurityException`, it typically means it is not allowed. It's still not well documented on all the restricted features, but it may just be impractical to list all of them. See https://stackoverflow.com/questions/45472709/text-to-speech-crash-on-instant-apps – TWL Jul 02 '18 at 23:36
  • You can also check if your in an instant app install and disable functionality that might be unavailable / crash the app. – dazza5000 Jul 04 '18 at 12:06
  • @Praveena Was this ever resolved? – Nerdy Bunz Jul 21 '19 at 01:14
  • @BooberBunz Sorry, I stopped working on that. Please try it yourself once. – Praveena Jul 21 '19 at 06:27

0 Answers0