From 65333ccef6ad3ebb2af51e510c43d563dd8818f4 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 29 Jun 2024 22:29:21 +0800 Subject: [PATCH] :lipstick: Optimize platform specfic code --- android/app/build.gradle | 11 +++------- ios/Podfile.lock | 12 +++++++++++ web/index.html | 43 +++++++++++++++++++++++++++++++++++++++- 3 files changed, 57 insertions(+), 9 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 0344e4a..6366e32 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -26,11 +26,7 @@ if (flutterVersionName == null) { android { namespace = "dev.solsynth.solian" compileSdk = flutter.compileSdkVersion - ndkVersion = flutter.ndkVersion - - defaultConfig { - multiDexEnabled true - } + ndkVersion = "26.1.10909125" compileOptions { coreLibraryDesugaringEnabled true @@ -40,9 +36,8 @@ android { defaultConfig { applicationId = "dev.solsynth.solian" - // You can update the following values to match your application needs. - // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. - minSdk = flutter.minSdkVersion + minSdkVersion 23 + multiDexEnabled true targetSdk = flutter.targetSdkVersion versionCode = flutterVersionCode.toInteger() versionName = flutterVersionName diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 7f5aece..94dc37a 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -109,6 +109,8 @@ PODS: - GoogleUtilities/Privacy - image_picker_ios (0.0.1): - Flutter + - irondash_engine_context (0.0.1): + - Flutter - livekit_client (2.2.0): - Flutter - WebRTC-SDK (= 114.5735.10) @@ -141,6 +143,8 @@ PODS: - sqflite (0.0.3): - Flutter - FlutterMacOS + - super_native_extensions (0.0.1): + - Flutter - SwiftyGif (5.4.5) - url_launcher_ios (0.0.1): - Flutter @@ -162,6 +166,7 @@ DEPENDENCIES: - flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`) - flutter_webrtc (from `.symlinks/plugins/flutter_webrtc/ios`) - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) + - irondash_engine_context (from `.symlinks/plugins/irondash_engine_context/ios`) - livekit_client (from `.symlinks/plugins/livekit_client/ios`) - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) @@ -170,6 +175,7 @@ DEPENDENCIES: - sentry_flutter (from `.symlinks/plugins/sentry_flutter/ios`) - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) - sqflite (from `.symlinks/plugins/sqflite/darwin`) + - super_native_extensions (from `.symlinks/plugins/super_native_extensions/ios`) - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) - video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/darwin`) - wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`) @@ -213,6 +219,8 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/flutter_webrtc/ios" image_picker_ios: :path: ".symlinks/plugins/image_picker_ios/ios" + irondash_engine_context: + :path: ".symlinks/plugins/irondash_engine_context/ios" livekit_client: :path: ".symlinks/plugins/livekit_client/ios" package_info_plus: @@ -229,6 +237,8 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/shared_preferences_foundation/darwin" sqflite: :path: ".symlinks/plugins/sqflite/darwin" + super_native_extensions: + :path: ".symlinks/plugins/super_native_extensions/ios" url_launcher_ios: :path: ".symlinks/plugins/url_launcher_ios/ios" video_player_avfoundation: @@ -256,6 +266,7 @@ SPEC CHECKSUMS: GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15 image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1 + irondash_engine_context: 3458bf979b90d616ffb8ae03a150bafe2e860cc9 livekit_client: 2b3f5185f95d46d62d3570bf981f3d98ad3051e2 nanopb: 438bc412db1928dac798aa6fd75726007be04262 package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c @@ -268,6 +279,7 @@ SPEC CHECKSUMS: sentry_flutter: 5fb57c5b7e6427a9dc1fedde4269eb65823982d4 shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78 sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec + super_native_extensions: 4916b3c627a9c7fffdc48a23a9eca0b1ac228fa7 SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4 url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe video_player_avfoundation: 7c6c11d8470e1675df7397027218274b6d2360b3 diff --git a/web/index.html b/web/index.html index 74baf1c..f3775ac 100644 --- a/web/index.html +++ b/web/index.html @@ -1,5 +1,6 @@ + - + + + + Solian + +
+
+
+ +