Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flutter
Browse files Browse the repository at this point in the history
laves committed Nov 17, 2023
1 parent 24b7f8d commit f1f2271
Showing 11 changed files with 26 additions and 23 deletions.
3 changes: 3 additions & 0 deletions binding/flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -53,3 +53,6 @@
## [3.0.0] - 2023-10-25
* Engine improvements
* Improved error reporting

## [3.0.1] - 2023-11-17
* Update native packages
2 changes: 1 addition & 1 deletion binding/flutter/README.md
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Unlike the built-in keywords, custom PPN files generated with the Picovoice Cons
This binding is for running Porcupine on **Flutter 2.8.1+** on the following platforms:

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

## Installation

4 changes: 2 additions & 2 deletions binding/flutter/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'ai.picovoice.flutter.porcupine'
version '3.0.0'
version '3.0.1'

buildscript {
repositories {
@@ -43,5 +43,5 @@ android {
}

dependencies {
implementation 'ai.picovoice:porcupine-android:3.0.0'
implementation 'ai.picovoice:porcupine-android:3.0.1'
}
6 changes: 3 additions & 3 deletions binding/flutter/ios/porcupine_flutter.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'porcupine_flutter'
s.version = '3.0.0'
s.version = '3.0.1'
s.summary = 'A Flutter package plugin for Picovoice\'s Porcupine wake word engine'
s.description = <<-DESC
A Flutter package plugin for Picovoice\'s Porcupine wake word engine.
@@ -10,8 +10,8 @@ Pod::Spec.new do |s|
s.author = { 'Picovoice' => '[email protected]' }
s.source = { :git => "https://github.com/Picovoice/porcupine.git" }
s.source_files = 'Classes/**/*'
s.platform = :ios, '11.0'
s.platform = :ios, '13.0'
s.dependency 'Flutter'
s.dependency 'Porcupine-iOS', '~> 3.0.0'
s.dependency 'Porcupine-iOS', '~> 3.0.1'
s.swift_version = '5.0'
end
2 changes: 1 addition & 1 deletion binding/flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: porcupine_flutter
description: A Flutter plugin for Picovoice's Porcupine offline wake word engine.
version: 3.0.0
version: 3.0.1
homepage: https://picovoice.ai/
repository: https://github.com/Picovoice/porcupine/
documentation: https://picovoice.ai/docs/porcupine/
2 changes: 1 addition & 1 deletion demo/flutter/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
@@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>13.0</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion demo/flutter/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, '11.0'
platform :ios, '13.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
12 changes: 6 additions & 6 deletions demo/flutter/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -8,11 +8,11 @@ PODS:
- ios-voice-processor (1.1.0)
- path_provider_ios (0.0.1):
- Flutter
- Porcupine-iOS (3.0.0):
- Porcupine-iOS (3.0.1):
- ios-voice-processor (~> 1.1.0)
- porcupine_flutter (3.0.0):
- porcupine_flutter (3.0.1):
- Flutter
- Porcupine-iOS (~> 3.0.0)
- Porcupine-iOS (~> 3.0.1)

DEPENDENCIES:
- Flutter (from `Flutter`)
@@ -44,9 +44,9 @@ SPEC CHECKSUMS:
integration_test: a1e7d09bd98eca2fc37aefd79d4f41ad37bdbbe5
ios-voice-processor: 8e32d7f980a06d392d128ef1cd19cf6ddcaca3c1
path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
Porcupine-iOS: 517158e02ac294dda15b713a3c6f74a9e877090c
porcupine_flutter: f01557d2a5fe6618ffa1707a2b94573bd16a78b6
Porcupine-iOS: 6d69509fa587f3ac0be1adfefb48e0c6ce029fff
porcupine_flutter: 34411d7cd1e2bff5ff518e1f91b763a2e742e021

PODFILE CHECKSUM: 7368163408c647b7eb699d0d788ba6718e18fb8d
PODFILE CHECKSUM: cc1f88378b4bfcf93a6ce00d2c587857c6008d3b

COCOAPODS: 1.11.3
12 changes: 6 additions & 6 deletions demo/flutter/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -340,7 +340,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
STRIP_STYLE = "non-global";
@@ -364,7 +364,7 @@
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -429,7 +429,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -480,7 +480,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
STRIP_STYLE = "non-global";
@@ -506,7 +506,7 @@
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -538,7 +538,7 @@
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
2 changes: 1 addition & 1 deletion demo/flutter/pubspec.lock
Original file line number Diff line number Diff line change
@@ -221,7 +221,7 @@ packages:
name: porcupine_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
version: "3.0.1"
process:
dependency: transitive
description:
2 changes: 1 addition & 1 deletion demo/flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ dependencies:
sdk: flutter

flutter_picker: ^2.0.1
porcupine_flutter: ^3.0.0
porcupine_flutter: ^3.0.1
path: ^1.8.0

dev_dependencies:

0 comments on commit f1f2271

Please sign in to comment.