Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
59cfc40
Update tauri.conf.json
glayyiyi Jul 11, 2024
5c15a77
Update tauri.conf.json
glayyiyi Jul 11, 2024
836a2ec
Merge branch 'main' of https://github.com/aws-samples/sample-client-f…
glayyiyi Jul 20, 2024
ad4d7e8
Merge remote-tracking branch 'origin/main' into release
glayyiyi Jul 20, 2024
ac27b44
Merge remote main into release
glayyiyi Jul 20, 2024
3ba5857
修改: app/.DS_Store
glayyiyi Oct 6, 2024
2e89c3f
Merge remote-tracking branch 'origin/main' into release
glayyiyi Nov 8, 2024
68784ec
修改: src-tauri/tauri.conf.json
glayyiyi Nov 8, 2024
9cc8b6c
修改: src-tauri/tauri.conf.json
glayyiyi Nov 8, 2024
d512432
Merge remote-tracking branch 'origin/main' into release
glayyiyi Dec 12, 2024
19e5095
Merge remote-tracking branch 'origin/main' into release
glayyiyi Dec 12, 2024
829c91e
upate version
glayyiyi Dec 12, 2024
8b87046
Merge main branch into release branch
glayyiyi Feb 25, 2025
bf475f2
修改: src-tauri/tauri.conf.json
glayyiyi Feb 25, 2025
f464cb7
Merge main branch into release branch
glayyiyi Feb 25, 2025
9d53f6b
Merge branch 'main' into release
glayyiyi Feb 25, 2025
b1a3114
Merge branch 'main' into release
glayyiyi Feb 26, 2025
72e8d0f
Merge remote-tracking branch 'origin/main' into release
glayyiyi Mar 23, 2025
7dd852e
Merge branch 'main' into release
glayyiyi May 7, 2025
3ef79e6
Merge pull request #44 from aws-samples/main
DamonDeng Aug 14, 2025
27052f8
Merge branch 'main' into release
glayyiyi Aug 23, 2025
2b63bb7
Merge branch 'main' into release
glayyiyi Aug 23, 2025
9770a3d
Merge branch 'main' into release
glayyiyi Aug 23, 2025
f246fb4
Merge branch 'main' into release
glayyiyi Aug 23, 2025
d52c1c8
retrigger: restart release workflow with correct certificate password
glayyiyi Aug 23, 2025
c8d5fa9
Merge branch 'main' into release
glayyiyi Aug 23, 2025
aa004c5
Merge branch 'main' into release
glayyiyi Aug 23, 2025
63dc6d8
Merge branch 'main' into release
glayyiyi Aug 23, 2025
5a2f8c4
Merge branch 'main' into release
glayyiyi Aug 23, 2025
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
Binary file modified app/.DS_Store
Binary file not shown.
Binary file modified app/api/.DS_Store
Binary file not shown.
30 changes: 15 additions & 15 deletions flutter_app/.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# This file should be version controlled and should not be manually edited.

version:
revision: "761747bfc538b5af34aa0d3fac380f1bc331ec49"
revision: "5874a72aa4c779a02553007c47dacbefba2374dc"
channel: "stable"

project_type: app
Expand All @@ -13,26 +13,26 @@ project_type: app
migration:
platforms:
- platform: root
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
- platform: android
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
- platform: ios
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
- platform: linux
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
- platform: macos
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
- platform: web
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
- platform: windows
create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
create_revision: 5874a72aa4c779a02553007c47dacbefba2374dc
base_revision: 5874a72aa4c779a02553007c47dacbefba2374dc

# User provided section

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.aithing.br_client_app
package com.damonai.brclient

import io.flutter.embedding.android.FlutterActivity

Expand Down
2 changes: 2 additions & 0 deletions flutter_app/ios/Flutter/Release.xcconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"

20 changes: 10 additions & 10 deletions flutter_app/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ PODS:
- flutter_inappwebview_ios (0.0.1):
- Flutter
- flutter_inappwebview_ios/Core (= 0.0.1)
- OrderedSet (~> 5.0)
- OrderedSet (~> 6.0.3)
- flutter_inappwebview_ios/Core (0.0.1):
- Flutter
- OrderedSet (~> 5.0)
- OrderedSet (5.0.0)
- OrderedSet (~> 6.0.3)
- OrderedSet (6.0.3)
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- permission_handler_apple (9.3.0):
- Flutter
- SDWebImage (5.19.2):
- SDWebImage/Core (= 5.19.2)
- SDWebImage/Core (5.19.2)
- SDWebImage (5.19.7):
- SDWebImage/Core (= 5.19.7)
- SDWebImage/Core (5.19.7)
- SwiftyGif (5.4.5)

DEPENDENCIES:
Expand Down Expand Up @@ -84,13 +84,13 @@ SPEC CHECKSUMS:
DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60
file_picker: 09aa5ec1ab24135ccd7a1621c46c84134bfd6655
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_inappwebview_ios: 97215cf7d4677db55df76782dbd2930c5e1c1ea0
OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c
flutter_inappwebview_ios: 6f63631e2c62a7c350263b13fa5427aedefe81d4
OrderedSet: e539b66b644ff081c73a262d24ad552a69be3a94
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2
SDWebImage: dfe95b2466a9823cf9f0c6d01217c06550d7b29a
SDWebImage: 8a6b7b160b4d710e2a22b6900e25301075c34cb3
SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4

PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
PODFILE CHECKSUM: 7be2f5f74864d463a8ad433546ed1de7e0f29aef

COCOAPODS: 1.15.2
177 changes: 71 additions & 106 deletions flutter_app/ios/Runner.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions flutter_app/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter
import UIKit

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
25 changes: 7 additions & 18 deletions flutter_app/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>BRClient</string>
<string>Brclient</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand All @@ -26,21 +24,6 @@
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSAllowsInlineMediaPlayback</key>
<true/>
</dict>
<key>NSCameraUsageDescription</key>
<string>This app requires camera access to function properly.</string>
<key>NSMicrophoneUsageDescription</key>
<string>This app requires microphone access to function properly.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>$(PRODUCT_NAME) needs access to your photo library to allow you to select and upload photos."</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
Expand All @@ -58,5 +41,11 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>NSPhotoLibraryUsageDescription</key>
<string>We need access to your photo library to allow you to select and upload images.</string>
</dict>
</plist>
23 changes: 15 additions & 8 deletions flutter_app/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,23 @@ Future main() async {
final appDocDir = await getApplicationSupportDirectory();

var webDir = Directory(path.join(appDocDir.path, "out"));
print("IndexHtml Path=========================:" +
path.join(webDir.path, 'index.html'));
if (!webDir.existsSync()) {
print("unzip...");
var data = await rootBundle.load("assets/out.zip");
final archive =
ZipDecoder().decodeBuffer(InputStream(data.buffer.asUint8List()));
await extractArchiveToDisk(archive, appDocDir.path);
print("IndexHtml Path=========================:" + path.join(webDir.path, 'index.html'));
// if (!webDir.existsSync()) {
// print("unzip...");
// var data = await rootBundle.load("assets/out.zip");
// final archive =
// ZipDecoder().decodeBuffer(InputStream(data.buffer.asUint8List()));
// await extractArchiveToDisk(archive, appDocDir.path);
// }
final zipFile = await rootBundle.load('assets/out.zip');
final archive = ZipDecoder().decodeBuffer(InputStream(zipFile.buffer.asUint8List()));

if (webDir.existsSync()) {
webDir.deleteSync(recursive: true);
}

await extractArchiveToDisk(archive, appDocDir.path);

var pipe = const Pipeline();
if (kDebugMode) {
pipe.addMiddleware(logRequests());
Expand Down
40 changes: 20 additions & 20 deletions flutter_app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ packages:
description:
name: archive
sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d
url: "https://pub.dev"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.6.1"
args:
Expand Down Expand Up @@ -46,7 +46,7 @@ packages:
description:
name: checked_yaml
sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
url: "https://pub.dev"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.3"
cli_util:
Expand Down Expand Up @@ -102,7 +102,7 @@ packages:
description:
name: cupertino_icons
sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
url: "https://pub.dev"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.8"
fake_async:
Expand Down Expand Up @@ -202,18 +202,18 @@ packages:
dependency: "direct main"
description:
name: flutter_launcher_icons
sha256: "526faf84284b86a4cb36d20a5e45147747b7563d921373d4ee0559c54fcdbcea"
url: "https://pub.dev"
sha256: "619817c4b65b322b5104b6bb6dfe6cda62d9729bd7ad4303ecc8b4e690a67a77"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.13.1"
version: "0.14.1"
flutter_lints:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
url: "https://pub.dev"
sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1"
url: "https://pub.flutter-io.cn"
source: hosted
version: "4.0.0"
version: "5.0.0"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
Expand Down Expand Up @@ -253,7 +253,7 @@ packages:
description:
name: json_annotation
sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1"
url: "https://pub.dev"
url: "https://pub.flutter-io.cn"
source: hosted
version: "4.9.0"
leak_tracker:
Expand All @@ -277,17 +277,17 @@ packages:
description:
name: leak_tracker_testing
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
url: "https://pub.dev"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.1"
lints:
dependency: transitive
description:
name: lints
sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
url: "https://pub.dev"
sha256: "3315600f3fb3b135be672bf4a178c55f274bebe368325ae18462c89ac1e3b413"
url: "https://pub.flutter-io.cn"
source: hosted
version: "4.0.0"
version: "5.0.0"
matcher:
dependency: transitive
description:
Expand Down Expand Up @@ -357,15 +357,15 @@ packages:
description:
name: path_provider_linux
sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279
url: "https://pub.dev"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.2.1"
path_provider_platform_interface:
dependency: transitive
description:
name: path_provider_platform_interface
sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334"
url: "https://pub.dev"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.2"
path_provider_windows:
Expand Down Expand Up @@ -421,7 +421,7 @@ packages:
description:
name: permission_handler_windows
sha256: "1a790728016f79a41216d88672dbc5df30e686e811ad4e698bfc51f76ad91f1e"
url: "https://pub.dev"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.2.1"
petitparser:
Expand All @@ -445,7 +445,7 @@ packages:
description:
name: plugin_platform_interface
sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.dev"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.8"
shelf:
Expand Down Expand Up @@ -530,7 +530,7 @@ packages:
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
url: "https://pub.dev"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.4"
vm_service:
Expand Down Expand Up @@ -570,7 +570,7 @@ packages:
description:
name: xml
sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226
url: "https://pub.dev"
url: "https://pub.flutter-io.cn"
source: hosted
version: "6.5.0"
yaml:
Expand Down
4 changes: 2 additions & 2 deletions flutter_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies:
path_provider: ^2.1.3
archive: ^3.5.0
file_picker: ^8.0.3
flutter_launcher_icons: ^0.13.1
flutter_launcher_icons: ^0.14.1
permission_handler: ^11.3.1
path: any
dev_dependencies:
Expand All @@ -53,7 +53,7 @@ dev_dependencies:
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^4.0.0
flutter_lints: ^5.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down
Binary file modified src-tauri/.DS_Store
Binary file not shown.
Loading