Commit 2310117a authored by tongzifang's avatar tongzifang

ios 11

parent dbc960b5
# Uncomment this line to define a global platform for your project # Uncomment this line to define a global platform for your project
# platform :ios, '11.0' platform :ios, '11.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency. # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true' ENV['COCOAPODS_DISABLE_STATS'] = 'true'
......
...@@ -7,13 +7,9 @@ ...@@ -7,13 +7,9 @@
#include "generated_plugin_registrant.h" #include "generated_plugin_registrant.h"
#include <base_data_channel/base_data_channel_plugin.h> #include <base_data_channel/base_data_channel_plugin.h>
#include <sentry_flutter/sentry_flutter_plugin.h>
void fl_register_plugins(FlPluginRegistry* registry) { void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) base_data_channel_registrar = g_autoptr(FlPluginRegistrar) base_data_channel_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "BaseDataChannelPlugin"); fl_plugin_registry_get_registrar_for_plugin(registry, "BaseDataChannelPlugin");
base_data_channel_plugin_register_with_registrar(base_data_channel_registrar); base_data_channel_plugin_register_with_registrar(base_data_channel_registrar);
g_autoptr(FlPluginRegistrar) sentry_flutter_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "SentryFlutterPlugin");
sentry_flutter_plugin_register_with_registrar(sentry_flutter_registrar);
} }
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
list(APPEND FLUTTER_PLUGIN_LIST list(APPEND FLUTTER_PLUGIN_LIST
base_data_channel base_data_channel
sentry_flutter
) )
list(APPEND FLUTTER_FFI_PLUGIN_LIST list(APPEND FLUTTER_FFI_PLUGIN_LIST
......
...@@ -6,19 +6,15 @@ import FlutterMacOS ...@@ -6,19 +6,15 @@ import FlutterMacOS
import Foundation import Foundation
import base_data_channel import base_data_channel
import package_info_plus
import path_provider_foundation import path_provider_foundation
import photo_manager import photo_manager
import sentry_flutter
import shared_preferences_foundation import shared_preferences_foundation
import sqflite import sqflite
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
BaseDataChannelPlugin.register(with: registry.registrar(forPlugin: "BaseDataChannelPlugin")) BaseDataChannelPlugin.register(with: registry.registrar(forPlugin: "BaseDataChannelPlugin"))
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
PhotoManagerPlugin.register(with: registry.registrar(forPlugin: "PhotoManagerPlugin")) PhotoManagerPlugin.register(with: registry.registrar(forPlugin: "PhotoManagerPlugin"))
SentryFlutterPlugin.register(with: registry.registrar(forPlugin: "SentryFlutterPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
} }
...@@ -400,22 +400,6 @@ packages: ...@@ -400,22 +400,6 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.1.0" version: "2.1.0"
package_info_plus:
dependency: transitive
description:
name: package_info_plus
sha256: cbff87676c352d97116af6dbea05aa28c4d65eb0f6d5677a520c11a69ca9a24d
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.1.0"
package_info_plus_platform_interface:
dependency: transitive
description:
name: package_info_plus_platform_interface
sha256: "9bc8ba46813a4cc42c66ab781470711781940780fd8beddd0c3da62506d3a6c6"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.1"
path: path:
dependency: transitive dependency: transitive
description: description:
...@@ -576,22 +560,6 @@ packages: ...@@ -576,22 +560,6 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.27.7" version: "0.27.7"
sentry:
dependency: transitive
description:
name: sentry
sha256: "9b005f502dfd84ca085dfa660dd4f16f7891c1b4b6300fda7c340330e61525d6"
url: "https://pub.flutter-io.cn"
source: hosted
version: "7.4.2"
sentry_flutter:
dependency: transitive
description:
name: sentry_flutter
sha256: bb537f6fedbe4c634aaf1a430d5efce8329e355b57dc2e0c224d8a2a3e54c4ac
url: "https://pub.flutter-io.cn"
source: hosted
version: "7.4.2"
shared_preferences: shared_preferences:
dependency: transitive dependency: transitive
description: description:
......
...@@ -7,11 +7,8 @@ ...@@ -7,11 +7,8 @@
#include "generated_plugin_registrant.h" #include "generated_plugin_registrant.h"
#include <base_data_channel/base_data_channel_plugin_c_api.h> #include <base_data_channel/base_data_channel_plugin_c_api.h>
#include <sentry_flutter/sentry_flutter_plugin.h>
void RegisterPlugins(flutter::PluginRegistry* registry) { void RegisterPlugins(flutter::PluginRegistry* registry) {
BaseDataChannelPluginCApiRegisterWithRegistrar( BaseDataChannelPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("BaseDataChannelPluginCApi")); registry->GetRegistrarForPlugin("BaseDataChannelPluginCApi"));
SentryFlutterPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("SentryFlutterPlugin"));
} }
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
list(APPEND FLUTTER_PLUGIN_LIST list(APPEND FLUTTER_PLUGIN_LIST
base_data_channel base_data_channel
sentry_flutter
) )
list(APPEND FLUTTER_FFI_PLUGIN_LIST list(APPEND FLUTTER_FFI_PLUGIN_LIST
......
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