From dde81cab65df5e2e85504c2625cc4cc7afc594fb Mon Sep 17 00:00:00 2001 From: lunaticbum Date: Mon, 24 Nov 2025 17:53:00 +0900 Subject: [PATCH] .. --- .dart_tool/extension_discovery/README.md | 31 - .dart_tool/extension_discovery/vs_code.json | 1 - apps/app/android/app/build.gradle.kts | 19 +- .../android/app/src/main/AndroidManifest.xml | 22 + .../com/playwith/playwith_app/MainActivity.kt | 40 +- apps/app/android/build.gradle.kts | 10 +- apps/app/ios/Podfile.lock | 213 ++++++ apps/app/ios/Runner.xcodeproj/project.pbxproj | 130 ++++ .../contents.xcworkspacedata | 3 + apps/app/ios/Runner/Info.plist | 18 + apps/app/lib/intro_screen.dart | 46 +- apps/app/lib/lobby_screen.dart | 560 ++++++++++++---- apps/app/lib/main.dart | 50 +- .../flutter/generated_plugin_registrant.cc | 12 + .../app/linux/flutter/generated_plugins.cmake | 3 + .../Flutter/GeneratedPluginRegistrant.swift | 8 + apps/app/pubspec.lock | 495 +++++++++++++- apps/app/pubspec.yaml | 42 +- .../flutter/generated_plugin_registrant.cc | 15 + .../windows/flutter/generated_plugins.cmake | 5 + .../core/lib/database/ephemeral_database.dart | 47 ++ .../lib/database/ephemeral_database.g.dart | 557 ++++++++++++++++ packages/core/lib/game/base_game.dart | 58 +- .../core/lib/manager/global_chat_manager.dart | 70 ++ packages/core/lib/manager/media_manager.dart | 149 +++++ packages/core/lib/model/play_packet.dart | 52 ++ packages/core/lib/model/user_info.dart | 17 +- .../core/lib/network/network_manager.dart | 517 ++++++++++----- packages/core/lib/playwith_core.dart | 13 +- packages/core/lib/utils/sound_manager.dart | 65 ++ .../core/lib/widgets/game_chat_overlay.dart | 229 +++++++ packages/core/pubspec.yaml | 22 +- packages/games/quiz/lib/quiz_game.dart | 618 ++++++++++++++++++ packages/games/quiz/pubspec.yaml | 52 +- 34 files changed, 3719 insertions(+), 470 deletions(-) delete mode 100644 .dart_tool/extension_discovery/README.md delete mode 100644 .dart_tool/extension_discovery/vs_code.json create mode 100644 apps/app/ios/Podfile.lock create mode 100644 packages/core/lib/database/ephemeral_database.dart create mode 100644 packages/core/lib/database/ephemeral_database.g.dart create mode 100644 packages/core/lib/manager/global_chat_manager.dart create mode 100644 packages/core/lib/manager/media_manager.dart create mode 100644 packages/core/lib/model/play_packet.dart create mode 100644 packages/core/lib/utils/sound_manager.dart create mode 100644 packages/core/lib/widgets/game_chat_overlay.dart create mode 100644 packages/games/quiz/lib/quiz_game.dart diff --git a/.dart_tool/extension_discovery/README.md b/.dart_tool/extension_discovery/README.md deleted file mode 100644 index 9dc6757..0000000 --- a/.dart_tool/extension_discovery/README.md +++ /dev/null @@ -1,31 +0,0 @@ -Extension Discovery Cache -========================= - -This folder is used by `package:extension_discovery` to cache lists of -packages that contains extensions for other packages. - -DO NOT USE THIS FOLDER ----------------------- - - * Do not read (or rely) the contents of this folder. - * Do write to this folder. - -If you're interested in the lists of extensions stored in this folder use the -API offered by package `extension_discovery` to get this information. - -If this package doesn't work for your use-case, then don't try to read the -contents of this folder. It may change, and will not remain stable. - -Use package `extension_discovery` ---------------------------------- - -If you want to access information from this folder. - -Feel free to delete this folder -------------------------------- - -Files in this folder act as a cache, and the cache is discarded if the files -are older than the modification time of `.dart_tool/package_config.json`. - -Hence, it should never be necessary to clear this cache manually, if you find a -need to do please file a bug. diff --git a/.dart_tool/extension_discovery/vs_code.json b/.dart_tool/extension_discovery/vs_code.json deleted file mode 100644 index e25437e..0000000 --- a/.dart_tool/extension_discovery/vs_code.json +++ /dev/null @@ -1 +0,0 @@ -{"version":2,"entries":[{"package":"playWith","rootUri":"../","packageUri":"lib/"}]} \ No newline at end of file diff --git a/apps/app/android/app/build.gradle.kts b/apps/app/android/app/build.gradle.kts index d131d20..8005363 100644 --- a/apps/app/android/app/build.gradle.kts +++ b/apps/app/android/app/build.gradle.kts @@ -7,16 +7,20 @@ plugins { android { namespace = "com.playwith.playwith_app" - compileSdk = flutter.compileSdkVersion + compileSdk = 34 ndkVersion = flutter.ndkVersion + // [수정할 부분] compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + // 기존 1.8 -> 17로 변경 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } + // [수정할 부분] kotlinOptions { - jvmTarget = JavaVersion.VERSION_11.toString() + // 기존 '1.8' -> '17'로 변경 + jvmTarget = "17" } defaultConfig { @@ -24,8 +28,11 @@ android { applicationId = "com.playwith.playwith_app" // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. - minSdk = flutter.minSdkVersion - targetSdk = flutter.targetSdkVersion + // [수정] 최소 SDK는 21 이상이면 됨 + minSdk = flutter.minSdkVersion + // [수정] 타겟 SDK도 34로 올림 + targetSdk = 34 + versionCode = flutter.versionCode versionName = flutter.versionName } diff --git a/apps/app/android/app/src/main/AndroidManifest.xml b/apps/app/android/app/src/main/AndroidManifest.xml index e0c9d50..d529e8f 100644 --- a/apps/app/android/app/src/main/AndroidManifest.xml +++ b/apps/app/android/app/src/main/AndroidManifest.xml @@ -1,4 +1,20 @@ + + + + + + + + + + + + + + + + + + +