Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

expo-speech-paper-co

expo26MIT11.1.4TypeScript support: included

Provides text-to-speech functionality.

react-native, expo, expo-speech, speech, voice

readme

expo-speech

Provides text-to-speech functionality.

API documentation

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

expo install expo-speech

Configure for iOS

Run npx pod-install after installing the npm package.

Configure for Android

No additional set up necessary.

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

changelog

Changelog

Unpublished

🛠 Breaking changes

🎉 New features

  • Added utterance word tracking support for iOS and Android. This allows the ability to highlight each word in an utterance. (#20726 by @gabrieljoelc)

🐛 Bug fixes

💡 Others

11.0.0 — 2022-10-25

🛠 Breaking changes

  • Bumped iOS deployment target to 13.0 and deprecated support for iOS 12. (#18873 by @tsapeta)

10.3.0 — 2022-07-07

This version does not introduce any user-facing changes.

10.2.0 — 2022-04-18

⚠️ Notices

  • On Android bump compileSdkVersion to 31, targetSdkVersion to 31 and Java version to 11. (#16941 by @bbarthec)

10.1.1 - 2022-02-01

🐛 Bug fixes

  • Fix Plugin with id 'maven' not found build error from Android Gradle 7. (#16080 by @kudo)

10.1.0 — 2021-12-03

This version does not introduce any user-facing changes.

10.0.1 — 2021-10-01

This version does not introduce any user-facing changes.

10.0.0 — 2021-09-28

🛠 Breaking changes

🐛 Bug fixes

  • Fix setting speaking listener for projects with react-native@>0.64.0. (#13654 by @dsokal)
  • Fix empty voices list on web and allow to change voice when using speak. (#4516 by @Federkun)
  • Fix building errors from use_frameworks! in Podfile. (#14523 by @kudo)

💡 Others

9.2.0 — 2021-06-16

🐛 Bug fixes

💡 Others

  • Build Android code using Java 8 to fix Android instrumented test build error. (#12939 by @kudo)
  • Export missing WebVoice type. (#13257 by @Simek)

9.1.0 — 2021-03-10

🎉 New features

  • Updated Android build configuration to target Android 11 (added support for Android SDK 30). (#11647 by @bbarthec)

🐛 Bug fixes

  • Remove peerDependencies and unimodulePeerDependencies from Expo modules. (#11980 by @brentvatne)

9.0.0 — 2021-01-15

🛠 Breaking changes

8.5.0 — 2020-11-17

This version does not introduce any user-facing changes.

8.4.0 — 2020-08-18

This version does not introduce any user-facing changes.

8.3.0 — 2020-07-29

🎉 New features

  • Added constant Speech.maxSpeechInputLength - returns maximum input text length for Speech.speak(). (#9243 by @barthap)

🐛 Bug fixes

  • Fixed issue where Speech failed on Android when input text was too long. (#9243 by @barthap)

8.2.1 — 2020-05-29

This version does not introduce any user-facing changes.

8.2.0 — 2020-05-27

This version does not introduce any user-facing changes.