From 1347aacbc5fbe04ee0b6c2e2c4af1f04e24cb16d Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 12 Dec 2024 20:59:59 +0800 Subject: [PATCH] :rocket: Launch 2.0.0+22 (for macOS) :heavy_minus_sign: Remove sentry --- lib/main.dart | 10 +------- linux/flutter/generated_plugin_registrant.cc | 4 ---- linux/flutter/generated_plugins.cmake | 1 - macos/Flutter/GeneratedPluginRegistrant.swift | 2 -- macos/Podfile.lock | 17 ------------- pubspec.lock | 24 ++++--------------- pubspec.yaml | 3 +-- .../flutter/generated_plugin_registrant.cc | 3 --- windows/flutter/generated_plugins.cmake | 1 - 9 files changed, 6 insertions(+), 59 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index a17b5d8..5dfb659 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -12,7 +12,6 @@ import 'package:hive_flutter/hive_flutter.dart'; import 'package:provider/provider.dart'; import 'package:relative_time/relative_time.dart'; import 'package:responsive_framework/responsive_framework.dart'; -import 'package:sentry_flutter/sentry_flutter.dart'; import 'package:surface/firebase_options.dart'; import 'package:surface/providers/channel.dart'; import 'package:surface/providers/chat_call.dart'; @@ -57,14 +56,7 @@ void main() async { }); } - await SentryFlutter.init( - (options) { - options.dsn = 'https://c218d44126d59d69301e730498494def@o4506965897117696.ingest.us.sentry.io/4508346768228352'; - options.tracesSampleRate = 1.0; - options.profilesSampleRate = 1.0; - }, - appRunner: () => runApp(const SolianApp()), - ); + runApp(const SolianApp()); } class SolianApp extends StatelessWidget { diff --git a/linux/flutter/generated_plugin_registrant.cc b/linux/flutter/generated_plugin_registrant.cc index 75dd377..ad5d39c 100644 --- a/linux/flutter/generated_plugin_registrant.cc +++ b/linux/flutter/generated_plugin_registrant.cc @@ -13,7 +13,6 @@ #include #include #include -#include #include void fl_register_plugins(FlPluginRegistry* registry) { @@ -38,9 +37,6 @@ void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) pasteboard_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "PasteboardPlugin"); pasteboard_plugin_register_with_registrar(pasteboard_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); g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); diff --git a/linux/flutter/generated_plugins.cmake b/linux/flutter/generated_plugins.cmake index c5ce2f0..afdd7d5 100644 --- a/linux/flutter/generated_plugins.cmake +++ b/linux/flutter/generated_plugins.cmake @@ -10,7 +10,6 @@ list(APPEND FLUTTER_PLUGIN_LIST media_kit_libs_linux media_kit_video pasteboard - sentry_flutter url_launcher_linux ) diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index ba6ed34..1dd1b35 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -22,7 +22,6 @@ import package_info_plus import pasteboard import path_provider_foundation import screen_brightness_macos -import sentry_flutter import share_plus import shared_preferences_foundation import sqflite_darwin @@ -47,7 +46,6 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { PasteboardPlugin.register(with: registry.registrar(forPlugin: "PasteboardPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) ScreenBrightnessMacosPlugin.register(with: registry.registrar(forPlugin: "ScreenBrightnessMacosPlugin")) - SentryFlutterPlugin.register(with: registry.registrar(forPlugin: "SentryFlutterPlugin")) SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin")) SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) diff --git a/macos/Podfile.lock b/macos/Podfile.lock index 35a3225..25a2a9f 100644 --- a/macos/Podfile.lock +++ b/macos/Podfile.lock @@ -6,8 +6,6 @@ PODS: - FlutterMacOS - croppy (0.0.1): - FlutterMacOS - - cupertino_http (0.0.1): - - FlutterMacOS - device_info_plus (0.0.1): - FlutterMacOS - file_selector_macos (0.0.1): @@ -158,11 +156,6 @@ PODS: - SAMKeychain (1.5.3) - screen_brightness_macos (0.1.0): - FlutterMacOS - - Sentry/HybridSDK (8.41.0) - - sentry_flutter (8.11.0): - - Flutter - - FlutterMacOS - - Sentry/HybridSDK (= 8.41.0) - share_plus (0.0.1): - FlutterMacOS - shared_preferences_foundation (0.0.1): @@ -181,7 +174,6 @@ DEPENDENCIES: - bitsdojo_window_macos (from `Flutter/ephemeral/.symlinks/plugins/bitsdojo_window_macos/macos`) - connectivity_plus (from `Flutter/ephemeral/.symlinks/plugins/connectivity_plus/darwin`) - croppy (from `Flutter/ephemeral/.symlinks/plugins/croppy/macos`) - - cupertino_http (from `Flutter/ephemeral/.symlinks/plugins/cupertino_http/macos`) - device_info_plus (from `Flutter/ephemeral/.symlinks/plugins/device_info_plus/macos`) - file_selector_macos (from `Flutter/ephemeral/.symlinks/plugins/file_selector_macos/macos`) - firebase_analytics (from `Flutter/ephemeral/.symlinks/plugins/firebase_analytics/macos`) @@ -199,7 +191,6 @@ DEPENDENCIES: - pasteboard (from `Flutter/ephemeral/.symlinks/plugins/pasteboard/macos`) - path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`) - screen_brightness_macos (from `Flutter/ephemeral/.symlinks/plugins/screen_brightness_macos/macos`) - - sentry_flutter (from `Flutter/ephemeral/.symlinks/plugins/sentry_flutter/macos`) - share_plus (from `Flutter/ephemeral/.symlinks/plugins/share_plus/macos`) - shared_preferences_foundation (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin`) - sqflite_darwin (from `Flutter/ephemeral/.symlinks/plugins/sqflite_darwin/darwin`) @@ -220,7 +211,6 @@ SPEC REPOS: - nanopb - PromisesObjC - SAMKeychain - - Sentry - WebRTC-SDK EXTERNAL SOURCES: @@ -230,8 +220,6 @@ EXTERNAL SOURCES: :path: Flutter/ephemeral/.symlinks/plugins/connectivity_plus/darwin croppy: :path: Flutter/ephemeral/.symlinks/plugins/croppy/macos - cupertino_http: - :path: Flutter/ephemeral/.symlinks/plugins/cupertino_http/macos device_info_plus: :path: Flutter/ephemeral/.symlinks/plugins/device_info_plus/macos file_selector_macos: @@ -266,8 +254,6 @@ EXTERNAL SOURCES: :path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin screen_brightness_macos: :path: Flutter/ephemeral/.symlinks/plugins/screen_brightness_macos/macos - sentry_flutter: - :path: Flutter/ephemeral/.symlinks/plugins/sentry_flutter/macos share_plus: :path: Flutter/ephemeral/.symlinks/plugins/share_plus/macos shared_preferences_foundation: @@ -283,7 +269,6 @@ SPEC CHECKSUMS: bitsdojo_window_macos: 44e3b8fe3dd463820e0321f6256c5b1c16bb6a00 connectivity_plus: 4c41c08fc6d7c91f63bc7aec70ffe3730b04f563 croppy: 25a638bd7d05411d8c697f481568f261037694fc - cupertino_http: 1d506209e339211efa0764caa7b2de4bc55b6818 device_info_plus: 1b14eed9bf95428983aed283a8d51cce3d8c4215 file_selector_macos: cc3858c981fe6889f364731200d6232dac1d812d Firebase: cf1b19f21410b029b6786a54e9764a0cacad3c99 @@ -313,8 +298,6 @@ SPEC CHECKSUMS: PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 SAMKeychain: 483e1c9f32984d50ca961e26818a534283b4cd5c screen_brightness_macos: 2d6d3af2165592d9a55ffcd95b7550970e41ebda - Sentry: 54d0fe6c0df448497c8ed4cce66ccf7027e1823e - sentry_flutter: 83a84efb7f978522c9127fbc0c07dab09663eecc share_plus: 1fa619de8392a4398bfaf176d441853922614e89 shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78 sqflite_darwin: 5a7236e3b501866c1c9befc6771dfd73ffb8702d diff --git a/pubspec.lock b/pubspec.lock index 9b47dc3..8c7587b 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -482,10 +482,10 @@ packages: dependency: "direct main" description: name: file_picker - sha256: "16dc141db5a2ccc6520ebb6a2eb5945b1b09e95085c021d9f914f8ded7f1465c" + sha256: "89500471922dd3a89ab0d6e13ab4a2268c25474bff4ca7c628f55c76e0ced1de" url: "https://pub.dev" source: hosted - version: "8.1.4" + version: "8.1.5" file_selector_linux: dependency: transitive description: @@ -1498,22 +1498,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.3.2" - sentry: - dependency: transitive - description: - name: sentry - sha256: "0c2bb3c23c074130f60b2f6ee0851bd3714021758ac86df87fdd7cde6783feff" - url: "https://pub.dev" - source: hosted - version: "8.11.0" - sentry_flutter: - dependency: "direct main" - description: - name: sentry_flutter - sha256: "705041d83454bba76e72db56308de32c53b5996d24ef729c62e32623992039af" - url: "https://pub.dev" - source: hosted - version: "8.11.0" share_plus: dependency: "direct main" description: @@ -1771,10 +1755,10 @@ packages: dependency: transitive description: name: timing - sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" + sha256: "62ee18aca144e4a9f29d212f5a4c6a053be252b895ab14b5821996cff4ed90fe" url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "1.0.2" typed_data: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 994180f..d4d61af 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 2.0.0+21 +version: 2.0.0+22 environment: sdk: ^3.5.4 @@ -85,7 +85,6 @@ dependencies: media_kit_video: ^1.2.5 media_kit_libs_video: ^1.0.5 pasteboard: ^0.3.0 - sentry_flutter: ^8.10.1 synchronized: ^3.3.0+3 livekit_client: ^2.3.1+hotfix.1 wakelock_plus: ^1.2.8 diff --git a/windows/flutter/generated_plugin_registrant.cc b/windows/flutter/generated_plugin_registrant.cc index 9cb69e0..6b86f17 100644 --- a/windows/flutter/generated_plugin_registrant.cc +++ b/windows/flutter/generated_plugin_registrant.cc @@ -19,7 +19,6 @@ #include #include #include -#include #include #include @@ -50,8 +49,6 @@ void RegisterPlugins(flutter::PluginRegistry* registry) { registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin")); ScreenBrightnessWindowsPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("ScreenBrightnessWindowsPlugin")); - SentryFlutterPluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("SentryFlutterPlugin")); SharePlusWindowsPluginCApiRegisterWithRegistrar( registry->GetRegistrarForPlugin("SharePlusWindowsPluginCApi")); UrlLauncherWindowsRegisterWithRegistrar( diff --git a/windows/flutter/generated_plugins.cmake b/windows/flutter/generated_plugins.cmake index 9169c76..fb9cec4 100644 --- a/windows/flutter/generated_plugins.cmake +++ b/windows/flutter/generated_plugins.cmake @@ -16,7 +16,6 @@ list(APPEND FLUTTER_PLUGIN_LIST pasteboard permission_handler_windows screen_brightness_windows - sentry_flutter share_plus url_launcher_windows )