Skip to content

[Bug]: Voice input icon should be shown only when corresponding services are available #5698

Open
@sivaraam

Description

Summary

It's great to see the voice input option in the description and caption elements. There is a possibility that there are no speech-to-text services available on the device. Right now we seem to show the speech-to-text icon even in that case. We should identify this case and avoid showing the icon.

Steps to reproduce

  1. Open the app on a device that does not have speech-to-text services (disabling the existing service should be sufficient)
  2. Initiate an upload
  3. Tap on the speech-to-text icon near the description / caption fields

Expected behaviour

We don't show the speech-to-text icon at all as the same is not available on the device.

Actual behaviour

We show the speech-to-text icon but tapping on the same has no effect.

Device name

OnePlus Nord

Android version

Android 12

Commons app version

main

Device logs

No response

Screen-shots

No response

Would you like to work on the issue?

Prefer not

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions