Coder Social home page Coder Social logo

Comments (2)

damithark avatar damithark commented on June 16, 2024

I'm really stumped about this error and have noticed other people are having a similar one, but those fixes don't seem to be giving any kind of lasting fix for me.

Here's my scenario:

  • I'm using the demo code provided here
  • I start up the app on the ios simulator, using iPhone SE (3rd generation) - iOS 17.0
  • It works for for this first round just fine
  • I then terminate my process
  • I rerun my build (i.e. npx react-native run-ios)
  • I press the button again and it doesn't recognize any text I'm saying, then crashes with the error message above

If I go to Device -> Erase All Content and Settings and then rebuild the app, it works. But do I have to do that every time? That doesn't seem right and it seems like I'm missing something.

Has anyone run into this? Is the cleanup function in the example not working correctly?

This happened to me as well. Looks like this is an issue related to iOS simulator.

Just go to "Device" menu on your simulator and press "Erase all Content and Settings" will solve the problem. Whenever you rerun the app, you have to do it. It is a hassle but I don't see any other solution at the moment. You are better off doing the testing with an actual device imo.

Hope this helps...

from voice.

chetanbhadarka avatar chetanbhadarka commented on June 16, 2024

I'm really stumped about this error and have noticed other people are having a similar one, but those fixes don't seem to be giving any kind of lasting fix for me.

Here's my scenario:

  • I'm using the demo code provided here
  • I start up the app on the ios simulator, using iPhone SE (3rd generation) - iOS 17.0
  • It works for for this first round just fine
  • I then terminate my process
  • I rerun my build (i.e. npx react-native run-ios)
  • I press the button again and it doesn't recognize any text I'm saying, then crashes with the error message above

If I go to Device -> Erase All Content and Settings and then rebuild the app, it works. But do I have to do that every time? That doesn't seem right and it seems like I'm missing something.

Has anyone run into this? Is the cleanup function in the example not working correctly?

Having same issue, can anyone verify on iOS device?

from voice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.