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
Android | iOS | MacOS | Web | Linux | Windows |
---|---|---|---|---|---|
❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
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
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!");
}
- 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.