feat: sentry 异常捕获

This commit is contained in:
guozhigq
2024-03-23 14:15:51 +08:00
parent 74f31a818c
commit 67c9ff699c
10 changed files with 95 additions and 8 deletions

View File

@ -16,6 +16,7 @@ import media_kit_video
import package_info_plus
import path_provider_foundation
import screen_brightness_macos
import sentry_flutter
import share_plus
import sqflite
import url_launcher_macos
@ -33,6 +34,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
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"))
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))