Skip to content

Commit

Permalink
feat: 6.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sowens-csd committed Jun 25, 2023
1 parent 2ae23a1 commit 430f750
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 15 deletions.
9 changes: 8 additions & 1 deletion speech_to_text/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog

## 6.1.1
## 6.2.0

### New
* Upgrades and fixes for Flutter 3.0

### Fix
* Error status is cleared on each `listen` call.


### Fix
* Bluetooth permission check no longer crashes on some Android devices
Expand Down
23 changes: 11 additions & 12 deletions speech_to_text/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# speech_to_text

[![pub package](https://img.shields.io/badge/pub-v6.1.0-blue)](https://pub.dartlang.org/packages/speech_to_text) [![build status](https://github.com/csdcorp/speech_to_text/workflows/build/badge.svg)](https://github.com/csdcorp/speech_to_text/actions?query=workflow%3Abuild) [![codecov](https://codecov.io/gh/csdcorp/speech_to_text/branch/main/graph/badge.svg?token=4LV3HESMS4)](undefined)
[![pub package](https://img.shields.io/badge/pub-v6.2.0-blue)](https://pub.dartlang.org/packages/speech_to_text) [![build status](https://github.com/csdcorp/speech_to_text/workflows/build/badge.svg)](https://github.com/csdcorp/speech_to_text/actions?query=workflow%3Abuild) [![codecov](https://codecov.io/gh/csdcorp/speech_to_text/branch/main/graph/badge.svg?token=4LV3HESMS4)](undefined)

A library that exposes device specific speech recognition capability.

Expand All @@ -11,22 +11,13 @@ conversion or always on listening.

## Recent Updates

6.2.0 Upgrades for Flutter 3.x thanks to [jinosh05](https://github.com/jinosh05) for that!

6.0.0 Provides the first minimal Mac support. The plugin will compile and run on Mac though
it will always report speech as unavailable. This allows the plugin to be used in apps that
target the Mac platform and use speech as an optional part of the app. Further support for
Mac will be available in future versions.

5.4.2 Supports bluetooth headsets on Android, this requires new permissions, see the permissions section below.
Note that bluetooth permission is requested from the user, when upgrading users may have to manually set the permission
or clear their cache to force a re-request.

5.3.0 Fixes a longstanding issue with web support and improves error handling on iOS. From 5.2.0+
`compileSdkVersion 31` must be used for Android.

5.0.0 improves audio handling on iOS thanks to work by @deJong-IT. It also adds a new `done` status sent after
the listening session is complete and the plugin has finished with the audio subsystem on the device. This
should help coordinate multiple audio plugins.

*Note*: Feedback from any test devices is welcome.

## Using
Expand Down Expand Up @@ -254,6 +245,14 @@ as `LocaleName` instances. Then the `listen` method takes an optional `localeId`

## Troubleshooting

### Speech recognition not working on iOS Simulator

If speech recognition is not working on your simulator try going to the Settings app in the simulator:
Accessibility -> Spoken content -> Voices

From there select any language and any speaker and it should download to the device. After that speech
recognition should work on the simulator.

### Speech recognition stops after a brief pause on Android

Android speech recognition has a very short timeout when the speaker pauses. The duration seems to vary by device
Expand Down
2 changes: 1 addition & 1 deletion speech_to_text/example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
files = (
);
inputPaths = (
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
);
name = "Thin Binary";
outputPaths = (
Expand Down
2 changes: 1 addition & 1 deletion speech_to_text/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: speech_to_text
description: A Flutter plugin that exposes device specific speech to text recognition capability.
version: 6.1.1
version: 6.2.0
homepage: https://github.com/csdcorp/speech_to_text

environment:
Expand Down

0 comments on commit 430f750

Please sign in to comment.