Expo-speech doesnt work on some iOS devices

Expo-speech doesn’t work on some iOS devices. Ive created a fresh repo with the code below to make sure it’s not my app.

Is there a workaround for this? I found 2 other speech libraries but I can’t use them without ejecting.

This is critical for my app. Could I sponsor someone to work on this?

More detailed report: Expo-speech not working on iOS devices with Silent Mode on · Issue #8235 · expo/expo · GitHub

import React from 'react';
import { StyleSheet, View, Button } from 'react-native';
import * as Speech from 'expo-speech';

const App = () => {
  const speak =() => {
    const thingToSay = '0 1 2 3 4 5 6 7 8 9 10';
    Speech.speak(thingToSay);
  }

  return (
      <View style={styles.container}>
        <Button title="Press to hear some words" onPress={speak} />
      </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
  },
});

export default App;
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.