capacitor-community / capacitor-community/speech-recognition

Capacitor 5 App is getting crashed

Open
#82 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
130
Forks
69
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

Open the contributing guide

Research direction

Start at CapacitorCommunitySpeechRecognition/Plugin.swift:83 and reproduce the crash after voicerecognition.start on the reported iPhone and iOS version. Inspect the "No speech detected" path and determine why it reaches an unexpectedly nil value; done means that this case reports the error without crashing the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.