Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capacitor 5 App is getting crashed #82

Open
ajayweshape opened this issue Mar 6, 2024 · 1 comment
Open

Capacitor 5 App is getting crashed #82

ajayweshape opened this issue Mar 6, 2024 · 1 comment

Comments

@ajayweshape
Copy link

Describe the bug
CapacitorCommunitySpeechRecognition/Plugin.swift:83: Fatal error: Unexpectedly found nil while unwrapping an Optional value
ERROR MESSAGE: {"errorMessage":"No speech detected","message":"No speech detected"}
2024-03-06 13:44:54.636679-0500 App[26385:6805050] CapacitorCommunitySpeechRecognition/Plugin.swift:83: Fatal error: Unexpectedly found nil while unwrapping an Optional value

To Reproduce
After voicerecognition.start app is getting crash

Expected behavior
App should not crash

Screenshots
Screenshot 2024-03-06 at 1 46 42 PM

Smartphone (please complete the following information):

  • Device: iphone 13 pro max
  • OS: iOS 16.1.1
@khromov
Copy link
Contributor

khromov commented Mar 11, 2024

The first time I ran this plugin I also had a hard crash on iOS (unfortunately I wasn't able to get a trace because I was running it with npx cap run). But I could not reproduce this issue on further app launches, even though I fully uninstalled the app. Would be great to avoid crashes if possible as you can't guard yourself from them in JS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants