Bug with speech-to-text TextInput children in deployed iOS application

SDK Version: 48.0.0
Platforms: iOS

I’m experiencing an issue with the speech-to-text messages in TextInputs being wiped for deployed iOS applications. With the Expo Go app, everything works fine, and Android deployed apps work fine, but iOS does not.

To simulate this issue, you have to use the TextInput ability to inject components as children as text is being entered (Need it for specialized coloring of text etc.). A bare minimum example is presented below:

const [formattedText, setFormattedText] = useState([])

function formatText(text) {
  const words = text.split(' ')
  const formatted = [];

  for (const word of words) {
    formatted.push(<Text>{word}</Text>)
  }

  setFormattedText(formatted)
}

return (
  <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
    <TextInput onChangeText={formatText}>{formattedText}</TextInput>
  </View>
)

speech-to-text works just fine if not using the generated TextInput children and typing in normally, the way presented above works just fine in all environments. I’m not sure why speech-to-text on iOS in a deployed application will be wiped after the talking is complete. Any help diagnosing this bug would be greatly appreciated or let me know if there is a better place to post this!