Achieve your goals and keep your data private with Lotti. This life tracking app is designed to help you stay motivated and on track, all while keeping your personal information safe and secure. Now with on-device speech recognition.
This pull request includes significant changes to the WhisperKitRunner file and its integration across different platforms, along with a version update in the pubspec.yaml file. The most important changes include unloading existing models before loading new models, renaming and relocating the WhisperKitRunner.swift file, updating its import statements and method implementations, and adjusting the project files to reflect these changes.
File Renaming and Relocation:
Renamed and relocated WhisperKitRunner.swift from ios/Runner to darwin. Updated all project references to the new location. [1][2][3][4][5][6][7][8][9][10]
Code Enhancements in WhisperKitRunner:
Added platform-specific import statements for FlutterMacOS and Flutter using conditional compilation.
Moved WhisperKitRunner.swift file(s) to single file in darwin directory.
Simplified the eventSink usage by using optional chaining.
Added asynchronous unloading of models before loading new ones.
Added error handling for model loading failures and updated transcription logic to handle optional values. [1][2]
Project File Updates:
Updated ios/Runner.xcodeproj/project.pbxproj and macos/Runner.xcodeproj/project.pbxproj to reflect the new location of WhisperKitRunner.swift. [1][2][3][4][5][6][7][8][9]
Version Update:
Updated the version in pubspec.yaml from 0.9.523+2705 to 0.9.524+2707.
Removed Redundant File:
Removed the old WhisperKitRunner.swift file from the macos/Runner directory.
Removed the old WhisperKitRunner.swift file from the ios/Runner directory.
This pull request includes significant changes to the
WhisperKitRunner
file and its integration across different platforms, along with a version update in thepubspec.yaml
file. The most important changes include unloading existing models before loading new models, renaming and relocating theWhisperKitRunner.swift
file, updating its import statements and method implementations, and adjusting the project files to reflect these changes.File Renaming and Relocation:
WhisperKitRunner.swift
fromios/Runner
todarwin
. Updated all project references to the new location. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Code Enhancements in
WhisperKitRunner
:FlutterMacOS
andFlutter
using conditional compilation.WhisperKitRunner.swift
file(s) to single file indarwin
directory.eventSink
usage by using optional chaining.Project File Updates:
ios/Runner.xcodeproj/project.pbxproj
andmacos/Runner.xcodeproj/project.pbxproj
to reflect the new location ofWhisperKitRunner.swift
. [1] [2] [3] [4] [5] [6] [7] [8] [9]Version Update:
pubspec.yaml
from0.9.523+2705
to0.9.524+2707
.Removed Redundant File:
WhisperKitRunner.swift
file from themacos/Runner
directory.WhisperKitRunner.swift
file from theios/Runner
directory.