Skip to content

Flutter plugin that provides an API for accessing Personal Voice on iOS.

License

Notifications You must be signed in to change notification settings

rockarts/personal_voice_flutter

Repository files navigation

personal_voice_flutter

This Flutter plugin provides an API for accessing Personal Voice on iOS.

https://github.com/rockarts/personal_voice_flutter/blob/main/example/test/voice.MP4

Platform Support

Android iOS MacOS Web Linux Windows

Usage

This plugin only works on iOS 17 or later.

You must first create a personal voice on your iPhone under Settings->Accessibility->Speech->Personal Voice

Settings

After you've created a personal voice you must make sure that your phone is not in silent mode in order to hear the voice.

import 'package:personal_voice_flutter/personal_voice_flutter.dart';

...

final permission =
        await _personalVoiceFlutterPlugin.requestPersonalVoiceAuthorization();

if(permission == "authorized") {
    await _personalVoiceFlutterPlugin.speak("A sentence using my voice!");
}

Known Issues

iOS

  • Phone must not be in silent mode.
  • Crashes on iOS 17.0 to 17.0.2
  • The phone must not be set to silent or the personal voice will not play.

About

Flutter plugin that provides an API for accessing Personal Voice on iOS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published