willowtreeapps / vocable-ios

Vocable AAC for iOS - Empowering people to communicate with care takers and loved ones.
https://vocable.app
MIT License
78 stars 20 forks source link

[Listen] "Listening..." displayed when speech services are unavailable #696

Open rowildcard opened 2 years ago

rowildcard commented 2 years ago

Describe the bug

Immediately after granting speech and microphone access in the app the Listen category should show a message that speech services are unavailable if the Siri and Dictation system options are both disabled or Screen time is disabled.

Note đź““

This is an edge case scenario since the user would have to actively disable Keyboard dictation (on by default) or Screen time (on by default) for this to occur.

To Reproduce

Pre-requisites

Listen mode has not been enabled in the app yet. Siri and Keyboard dictation system options are both disabled OR Screen time> Content & Privacy Restrictions > Allowed Apps > Siri & Dictation is disabled.

Steps

  1. Navigate to the Listening category.
  2. Grant access to speech and microphone.

Expected behavior

Message says speech services are unavailable.

Actual behavior

“Listening…” message appears.

Device Information

14.8.1, iPhone 15.0.2, iPhone 12 Pro Max 15.3.1, iPhone

Helpers

How to disable Siri

  1. Go to device Settings
  2. Tap "Siri & Search"
  3. Tap "Press Side Button for Siri"

    "Enable Siri" alert appears.

  4. Tap "Enable Siri"

How to disable Keyboard dictation

  1. Go to device Settings
  2. Tap "General"
  3. Tap "Keyboard"
  4. Tap "Enable Dictation"

    "Turn Off Dictation" alert appears.

  5. Tap "Turn Off Dictation"

How to disable Screen Time>Siri & Dictation

  1. Go to device Settings
  2. Tap "Screen Time"
  3. Tap "Content & Privacy Restrictions"
  4. Tap "Allowed Apps"
  5. Tap "Siri & Dictation"