Voice: Android works fine, iOS doesn't

Created on 18 Jan 2018  Â·  11Comments  Â·  Source: react-native-voice/voice

Hi there!

First, congratulations this library looks really cool. Good work!

I have problems in iOS though.

  1. The simulator crashes on the demo when tapping in the Start Button and closes
  2. The device has a more weird error:

"Failed to load bundle" with error (Error reading bundle) ... main.jsbundle(null)

Any ideas?

Most helpful comment

I was having similar problems until I added this to the Info.plist:

<key>NSSpeechRecognitionUsageDescription</key>
<string>Allow MySuperAwesomeApp to use speech recognition</string>

All 11 comments

I find myself having the same issue.

I was having similar problems until I added this to the Info.plist:

<key>NSSpeechRecognitionUsageDescription</key>
<string>Allow MySuperAwesomeApp to use speech recognition</string>

I think the more detailed error message is required to address this issue. Can you provide more info? react-native log-ios might help you.

I am having this issue as well, It is very hard to get the demos of this project up and running let alone build an App around them.

I am not getting an Error message, clicking the Start Recognizing button in the ios demo causes the simluator to lock up.

Hey!

It eventually turned out to be an issue with the permissions. Get all your
permissions set up, restart the simulator on a fresh phone (change the
simulator model), and it should ask you for permission.

Hope that helps!

On Wed, Jul 11, 2018 at 6:01 AM Joseph Allen notifications@github.com
wrote:

I am having this issue as well, It is very hard to get the demos of this
project up and running let alone build an App around them.

I am not getting an Error message, clicking the Start Recognizing button
in the ios demo causes the simluator to lock up.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wenkesj/react-native-voice/issues/59#issuecomment-404160606,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT6h1XsdSYmo8pvjhKvPVQsIkzhTPVM7ks5uFfc_gaJpZM4RjMJH
.

adding

<key>NSSpeechRecognitionUsageDescription</key>
<string>Allow MySuperAwesomeApp to use speech recognition</string>

to my ios/ProjectName/Info.plist did it for me!

something to point out, this was an unintuitive step in the setup and was only resolved by finding this issue.

Great job! That was it :)

On Wed, Jul 11, 2018 at 10:03 AM Joseph Allen notifications@github.com
wrote:

something to point out, this was an unintuitive step in the setup and was
only resolved by finding this issue.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wenkesj/react-native-voice/issues/59#issuecomment-404242020,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT6h1REk2OU61PWjf97uiz1q9oclQY3iks5uFi_hgaJpZM4RjMJH
.

to resolve for others the above should probably be added to the README no?
happy to do it!

It's already included in the README but the section doesn't catch a lot of attention tbh https://github.com/wenkesj/react-native-voice#permissions

@xavicolomer Did you solved your problem?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alvaro1728 picture alvaro1728  Â·  3Comments

vaibhgupta09 picture vaibhgupta09  Â·  4Comments

blackcoudpm picture blackcoudpm  Â·  8Comments

AlkanV picture AlkanV  Â·  7Comments

henrych4 picture henrych4  Â·  8Comments