From a2ec9492cb6ad3da9e5f38ad5c7596a6468e9ee4 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Thu, 13 Jun 2024 20:09:38 +0530 Subject: [PATCH] Updated room kit to v2 embedding (#1789) --- .../plugins/GeneratedPluginRegistrant.java | 23 ------------------- packages/hms_room_kit/example/pubspec.lock | 4 ++-- packages/hms_room_kit/example/pubspec.yaml | 2 +- .../ios/Runner/GeneratedPluginRegistrant.h | 19 --------------- .../ios/Runner/GeneratedPluginRegistrant.m | 14 ----------- packages/hms_room_kit/pubspec.lock | 2 +- 6 files changed, 4 insertions(+), 60 deletions(-) delete mode 100644 packages/hms_room_kit/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java delete mode 100644 packages/hms_room_kit/ios/Runner/GeneratedPluginRegistrant.h delete mode 100644 packages/hms_room_kit/ios/Runner/GeneratedPluginRegistrant.m diff --git a/packages/hms_room_kit/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java b/packages/hms_room_kit/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java deleted file mode 100644 index d007606a4..000000000 --- a/packages/hms_room_kit/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java +++ /dev/null @@ -1,23 +0,0 @@ -package io.flutter.plugins; - -import io.flutter.plugin.common.PluginRegistry; - -/** - * Generated file. Do not edit. - */ -public final class GeneratedPluginRegistrant { - public static void registerWith(PluginRegistry registry) { - if (alreadyRegisteredWith(registry)) { - return; - } - } - - private static boolean alreadyRegisteredWith(PluginRegistry registry) { - final String key = GeneratedPluginRegistrant.class.getCanonicalName(); - if (registry.hasPlugin(key)) { - return true; - } - registry.registrarFor(key); - return false; - } -} diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index 73b282168..6d95f230a 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -238,14 +238,14 @@ packages: path: ".." relative: true source: path - version: "1.1.3" + version: "1.1.4" hmssdk_flutter: dependency: transitive description: path: "../../hmssdk_flutter" relative: true source: path - version: "1.10.3" + version: "1.10.4" http: dependency: transitive description: diff --git a/packages/hms_room_kit/example/pubspec.yaml b/packages/hms_room_kit/example/pubspec.yaml index a955121b3..c72366a10 100644 --- a/packages/hms_room_kit/example/pubspec.yaml +++ b/packages/hms_room_kit/example/pubspec.yaml @@ -19,7 +19,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 1.1.4 environment: - sdk: ">=2.19.6 <3.0.0" + sdk: ">=3.0.0 <4.0.0" # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions diff --git a/packages/hms_room_kit/ios/Runner/GeneratedPluginRegistrant.h b/packages/hms_room_kit/ios/Runner/GeneratedPluginRegistrant.h deleted file mode 100644 index 7a8909271..000000000 --- a/packages/hms_room_kit/ios/Runner/GeneratedPluginRegistrant.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GeneratedPluginRegistrant_h -#define GeneratedPluginRegistrant_h - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface GeneratedPluginRegistrant : NSObject -+ (void)registerWithRegistry:(NSObject*)registry; -@end - -NS_ASSUME_NONNULL_END -#endif /* GeneratedPluginRegistrant_h */ diff --git a/packages/hms_room_kit/ios/Runner/GeneratedPluginRegistrant.m b/packages/hms_room_kit/ios/Runner/GeneratedPluginRegistrant.m deleted file mode 100644 index efe65eccc..000000000 --- a/packages/hms_room_kit/ios/Runner/GeneratedPluginRegistrant.m +++ /dev/null @@ -1,14 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#import "GeneratedPluginRegistrant.h" - -@implementation GeneratedPluginRegistrant - -+ (void)registerWithRegistry:(NSObject*)registry { -} - -@end diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index 3d85553ef..02ba44dd6 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -222,7 +222,7 @@ packages: path: "../hmssdk_flutter" relative: true source: path - version: "1.10.3" + version: "1.10.4" http: dependency: transitive description: