Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS update #24

Merged
merged 2 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,7 @@
* Changed native recorders

## [1.1.1] - 2024-02-07
* iOS channel events to main thread
* iOS channel events to main thread

## [1.1.2] - 2024-10-25
* Updated iOS native recorder
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ data (16-bit, mono PCM) to the user via listeners.

- Flutter 1.20.0+
- Android 5.0+ (API 21+)
- iOS 11.0+
- iOS 13.0+

## Installation

Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
platform :ios, '12.0'
platform :ios, '13.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
12 changes: 6 additions & 6 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
PODS:
- Flutter (1.0.0)
- flutter_voice_processor (1.1.1):
- flutter_voice_processor (1.1.2):
- Flutter
- ios-voice-processor (~> 1.1.0)
- ios-voice-processor (~> 1.2.0)
- integration_test (0.0.1):
- Flutter
- ios-voice-processor (1.1.0)
- ios-voice-processor (1.2.0)

DEPENDENCIES:
- Flutter (from `Flutter`)
Expand All @@ -26,10 +26,10 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_voice_processor: 2b89b93d69b02227ae3fd58589ee0bcfa3ca2a82
flutter_voice_processor: 9ebe2cae6612db22d20e7e7833937ea19fa3e59c
integration_test: 13825b8a9334a850581300559b8839134b124670
ios-voice-processor: 8e32d7f980a06d392d128ef1cd19cf6ddcaca3c1
ios-voice-processor: 6b5ca08962f39e434fe39dca0f483d923a3b1b97

PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048
PODFILE CHECKSUM: cc1f88378b4bfcf93a6ce00d2c587857c6008d3b

COCOAPODS: 1.11.3
6 changes: 3 additions & 3 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down Expand Up @@ -425,7 +425,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -474,7 +474,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class _MyAppState extends State<MyApp> {
? null
: _toggleProcessing,
child: Text(_isProcessing ? "Stop" : "Start",
style: TextStyle(fontSize: 30)),
style: TextStyle(fontSize: 30, color: Colors.white)),
))),
);
}
Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.1.1"
version: "1.1.2"
fuchsia_remote_debug_protocol:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -240,4 +240,4 @@ packages:
version: "3.0.2"
sdks:
dart: ">=3.2.0-194.0.dev <4.0.0"
flutter: ">=1.20.0"
flutter: ">=3.3.0"
6 changes: 3 additions & 3 deletions ios/flutter_voice_processor.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'flutter_voice_processor'
s.version = '1.1.1'
s.version = '1.1.2'
s.summary = 'A Flutter audio recording plugin designed for real-time speech audio processing.'
s.description = <<-DESC
The Flutter Voice Processor is an asynchronous audio capture library designed for real-time audio processing.
Expand All @@ -16,8 +16,8 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/Picovoice/flutter-voice-processor.git" }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'ios-voice-processor', '~> 1.1.0'
s.platform = :ios, '11.0'
s.dependency 'ios-voice-processor', '~> 1.2.0'
s.platform = :ios, '13.0'

# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_voice_processor
description: A Flutter audio recording plugin designed for real-time speech audio processing.
version: 1.1.1
version: 1.1.2
homepage: https://picovoice.ai/
repository: https://github.com/Picovoice/flutter-voice-processor
documentation: https://picovoice.ai/docs/audio-recording-software/
Expand Down
Loading