Commit 73b997ef authored by tongzifang's avatar tongzifang

fix base_data_channel

parent 2efc4e78
......@@ -6,13 +6,9 @@
#include "generated_plugin_registrant.h"
#include <base_data_channel/base_data_channel_plugin.h>
#include <qmsd_flutter_user_feedback/qmsd_flutter_user_feedback_plugin.h>
void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) base_data_channel_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "BaseDataChannelPlugin");
base_data_channel_plugin_register_with_registrar(base_data_channel_registrar);
g_autoptr(FlPluginRegistrar) qmsd_flutter_user_feedback_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "QmsdFlutterUserFeedbackPlugin");
qmsd_flutter_user_feedback_plugin_register_with_registrar(qmsd_flutter_user_feedback_registrar);
......
......@@ -3,7 +3,6 @@
#
list(APPEND FLUTTER_PLUGIN_LIST
base_data_channel
qmsd_flutter_user_feedback
)
......
......@@ -5,18 +5,8 @@
import FlutterMacOS
import Foundation
import base_data_channel
import path_provider_foundation
import photo_manager
import qmsd_flutter_user_feedback
import shared_preferences_foundation
import sqflite
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
BaseDataChannelPlugin.register(with: registry.registrar(forPlugin: "BaseDataChannelPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
PhotoManagerPlugin.register(with: registry.registrar(forPlugin: "PhotoManagerPlugin"))
QmsdFlutterUserFeedbackPlugin.register(with: registry.registrar(forPlugin: "QmsdFlutterUserFeedbackPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
}
This diff is collapsed.
......@@ -6,12 +6,9 @@
#include "generated_plugin_registrant.h"
#include <base_data_channel/base_data_channel_plugin_c_api.h>
#include <qmsd_flutter_user_feedback/qmsd_flutter_user_feedback_plugin_c_api.h>
void RegisterPlugins(flutter::PluginRegistry* registry) {
BaseDataChannelPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("BaseDataChannelPluginCApi"));
QmsdFlutterUserFeedbackPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("QmsdFlutterUserFeedbackPluginCApi"));
}
......@@ -3,7 +3,6 @@
#
list(APPEND FLUTTER_PLUGIN_LIST
base_data_channel
qmsd_flutter_user_feedback
)
......
......@@ -14,11 +14,6 @@ dependencies:
sdk: flutter
plugin_platform_interface: ^2.0.2
logger: any
base_data_channel:
# path: /Users/tongzi/AndroidStudioProjects/base_data_channel
git:
url: https://git.zmcms.cn/publicsource/base_data_channel.git
ref: master
dev_dependencies:
flutter_test:
......@@ -26,6 +21,11 @@ dev_dependencies:
flutter_lints: ^2.0.0
retrofit_generator: '>=6.0.0 <7.0.0'
build_runner: '>=2.3.0 <4.0.0'
base_data_channel:
#path: /Users/tongzi/AndroidStudioProjects/base_data_channel
git:
url: https://git.zmcms.cn/publicsource/base_data_channel.git
ref: master
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment