Skip to content

Commit

Permalink
Update Flutter and RN (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
albho authored Dec 9, 2024
1 parent 9bf42d6 commit e1f2c21
Show file tree
Hide file tree
Showing 28 changed files with 339 additions and 266 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/flutter-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

build-ios:
name: Build iOS demo
runs-on: macos-12
runs-on: macos-latest
strategy:
matrix:
flutter-version: ['3.3.0', '3.22.2']
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
run: flutter build apk

build-clock-ios:
runs-on: macos-12
runs-on: macos-latest
defaults:
run:
working-directory: demo/flutter-clock
Expand Down
5 changes: 5 additions & 0 deletions demo/flutter-clock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@ Once you obtain your `AccessKey`, replace it in [lib/main.dart](lib/main.dart) f

```dart
final String accessKey = "{YOUR_ACCESS_KEY_HERE}"; // AccessKey obtained from Picovoice Console (https://console.picovoice.ai/)
```

Run the following command from [demo/flutter-clock](.) to build and deploy the demo to your device:
```console
flutter run
```
3 changes: 3 additions & 0 deletions demo/flutter-clock/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@ end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = "13.0"
end
end
end
53 changes: 26 additions & 27 deletions demo/flutter-clock/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,33 @@ PODS:
- Flutter (1.0.0)
- flutter_ringtone_player (0.0.1):
- Flutter
- flutter_voice_processor (1.1.0):
- flutter_voice_processor (1.1.2):
- Flutter
- ios-voice-processor (~> 1.1.0)
- ios-voice-processor (~> 1.2.0)
- fluttertoast (0.0.2):
- Flutter
- Toast
- ios-voice-processor (1.1.0)
- path_provider_foundation (0.0.1):
- ios-voice-processor (1.2.0)
- path_provider_ios (0.0.1):
- Flutter
- FlutterMacOS
- Porcupine-iOS (3.0.1):
- ios-voice-processor (~> 1.1.0)
- porcupine_flutter (3.0.1):
- Porcupine-iOS (3.0.4):
- ios-voice-processor (~> 1.2.0)
- porcupine_flutter (3.0.4):
- Flutter
- Porcupine-iOS (~> 3.0.1)
- Rhino-iOS (3.0.1):
- ios-voice-processor (~> 1.1.0)
- rhino_flutter (3.0.1):
- Porcupine-iOS (~> 3.0.4)
- Rhino-iOS (3.0.2):
- ios-voice-processor (~> 1.2.0)
- rhino_flutter (3.0.4):
- Flutter
- Rhino-iOS (~> 3.0.1)
- Rhino-iOS (~> 3.0.2)
- Toast (4.0.0)

DEPENDENCIES:
- Flutter (from `Flutter`)
- flutter_ringtone_player (from `.symlinks/plugins/flutter_ringtone_player/ios`)
- flutter_voice_processor (from `.symlinks/plugins/flutter_voice_processor/ios`)
- fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/ios`)
- path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`)
- porcupine_flutter (from `.symlinks/plugins/porcupine_flutter/ios`)
- rhino_flutter (from `.symlinks/plugins/rhino_flutter/ios`)

Expand All @@ -49,26 +48,26 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/flutter_voice_processor/ios"
fluttertoast:
:path: ".symlinks/plugins/fluttertoast/ios"
path_provider_foundation:
:path: ".symlinks/plugins/path_provider_foundation/ios"
path_provider_ios:
:path: ".symlinks/plugins/path_provider_ios/ios"
porcupine_flutter:
:path: ".symlinks/plugins/porcupine_flutter/ios"
rhino_flutter:
:path: ".symlinks/plugins/rhino_flutter/ios"

SPEC CHECKSUMS:
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_ringtone_player: 15eba85187230b87b2512f0e1b92225618bc03e7
flutter_voice_processor: 53afbf59ad3feb82f4a379fea9ed8dc98495210f
fluttertoast: fafc4fa4d01a6a9e4f772ecd190ffa525e9e2d9c
ios-voice-processor: 8e32d7f980a06d392d128ef1cd19cf6ddcaca3c1
path_provider_foundation: c68054786f1b4f3343858c1e1d0caaded73f0be9
Porcupine-iOS: 6d69509fa587f3ac0be1adfefb48e0c6ce029fff
porcupine_flutter: 34411d7cd1e2bff5ff518e1f91b763a2e742e021
Rhino-iOS: 4eeb02b38696907b28dd6f5dfa3a8f25355554ca
rhino_flutter: 41e530d58b8ed6f307f73f9f2e91c311b323f97f
flutter_voice_processor: 9ebe2cae6612db22d20e7e7833937ea19fa3e59c
fluttertoast: 31b00dabfa7fb7bacd9e7dbee580d7a2ff4bf265
ios-voice-processor: 6b5ca08962f39e434fe39dca0f483d923a3b1b97
path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
Porcupine-iOS: da103a8848ce6b36acd4a5e42bb811d4532dd515
porcupine_flutter: f903f397e6ea55a5c627432b0cdfcad84b68fbd1
Rhino-iOS: 19392b6663594385dad5c375a99484b383351e59
rhino_flutter: 7200cbe8d3a035e753660deccfd9955da3aa5612
Toast: 91b396c56ee72a5790816f40d3a94dd357abc196

PODFILE CHECKSUM: cc1f88378b4bfcf93a6ce00d2c587857c6008d3b
PODFILE CHECKSUM: 94e77867f9687ceb440eb24cf2aa1ab9a8ca336a

COCOAPODS: 1.11.3
COCOAPODS: 1.16.2
2 changes: 1 addition & 1 deletion demo/flutter-clock/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1300;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1300"
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion demo/flutter-clock/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
72 changes: 48 additions & 24 deletions demo/flutter-clock/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ packages:
dependency: transitive
description:
name: flutter_voice_processor
sha256: "3c91d8ab34b33016643ae7586a305b81c47c1b66a95b489807c34f127537fcbc"
sha256: "8ae3fc196d6060a13392e4ca557f7a2f4a6b87898ae519787f6929f986538572"
url: "https://pub.dev"
source: hosted
version: "1.1.1"
version: "1.1.2"
flutter_web_plugins:
dependency: transitive
description: flutter
Expand All @@ -112,6 +112,30 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.17.0"
leak_tracker:
dependency: transitive
description:
name: leak_tracker
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
url: "https://pub.dev"
source: hosted
version: "10.0.5"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
url: "https://pub.dev"
source: hosted
version: "3.0.5"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
lints:
dependency: "direct dev"
description:
Expand All @@ -124,34 +148,34 @@ packages:
dependency: transitive
description:
name: matcher
sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.dev"
source: hosted
version: "0.12.16"
version: "0.12.16+1"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.dev"
source: hosted
version: "0.5.0"
version: "0.11.1"
meta:
dependency: transitive
description:
name: meta
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
url: "https://pub.dev"
source: hosted
version: "1.10.0"
version: "1.15.0"
path:
dependency: transitive
description:
name: path
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.dev"
source: hosted
version: "1.8.3"
version: "1.9.0"
path_provider:
dependency: "direct main"
description:
Expand Down Expand Up @@ -212,10 +236,10 @@ packages:
dependency: "direct main"
description:
name: picovoice_flutter
sha256: cdcf6cbb7adbea268f6a54cf51d14bc905b12e535569697b3fbf994f898f29fe
sha256: "1a4f242fe63ffdf37b14a2700c8ae006da5866b4904e2ea61b3bd7e45e975380"
url: "https://pub.dev"
source: hosted
version: "3.0.3"
version: "3.0.4"
platform:
dependency: transitive
description:
Expand All @@ -236,10 +260,10 @@ packages:
dependency: transitive
description:
name: porcupine_flutter
sha256: "33849262a3009d6eca653b529916baf8b1dd6d62468fa00fbc17366d6dff8672"
sha256: "12d81f0337d85cf8d3d2f1a2ade0613b14cebc44808acea249c99113528e66c5"
url: "https://pub.dev"
source: hosted
version: "3.0.3"
version: "3.0.4"
process:
dependency: transitive
description:
Expand All @@ -252,10 +276,10 @@ packages:
dependency: transitive
description:
name: rhino_flutter
sha256: "11f04365bcfcd2bb306d12c5df952a0193f02a070839eefbd9153c745c40e824"
sha256: fe72e0e3e77411f46894accd047648530a141549e51237b0671974657ec45f6e
url: "https://pub.dev"
source: hosted
version: "3.0.3"
version: "3.0.4"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -305,10 +329,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
url: "https://pub.dev"
source: hosted
version: "0.6.1"
version: "0.7.2"
vector_math:
dependency: transitive
description:
Expand All @@ -317,14 +341,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.4"
web:
vm_service:
dependency: transitive
description:
name: web
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
name: vm_service
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev"
source: hosted
version: "0.3.0"
version: "14.2.5"
win32:
dependency: transitive
description:
Expand All @@ -342,5 +366,5 @@ packages:
source: hosted
version: "0.2.0+3"
sdks:
dart: ">=3.2.0-194.0.dev <4.0.0"
flutter: ">=2.8.1"
dart: ">=3.3.0 <4.0.0"
flutter: ">=3.18.0-18.0.pre.54"
2 changes: 1 addition & 1 deletion demo/flutter-clock/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
sdk: flutter
intl: ^0.17.0
path_provider: ^2.0.9
picovoice_flutter: ^3.0.3
picovoice_flutter: 3.0.4
flutter_ringtone_player: ^3.0.0
fluttertoast: ^8.0.9

Expand Down
Loading

0 comments on commit e1f2c21

Please sign in to comment.